How to get started with the Divio CLI¶
Although we provide the Divio app, a GUI application for working with your projects locally, for many developers the preferred tool for working with Divio projects is the Divio CLI.
If you are completely new to Divio, please see our tutorial, which guides you through installation and use of the Divio CLI in more detail.
In order to use the Divio CLI, you will need to install various packages if you do not already have them installed, including:
Install the CLI¶
The Divio CLI is a Python application. Install it with:
pip install divio-cli
Log in using the CLI¶
This will open https://control.divio.com/account/desktop-app/access-token/ in your browser, from where you can copy a token to paste into the terminal.
Add your public key to the Control Panel¶
Upload your public key at https://control.divio.com/account/ssh-keys/.