The Gradient CLI is available on pypi and works on Windows, MacOS, and Linux.
The CLI requires Python 3.4+ (or Python 2.7). Be sure to use a compatible version of pip (or pip3) depending on your Python version.
Pro Tip! We highly recommend installing and using the CLI within a Python virtual environment. This will minimize conflicts with existing libraries on your computer. We recommend virtualenv. See below for more instructions.
Install the CLI
Using pip to install the latest stable release
pip install -U gradient
Connecting your account
You can either stash your API key on your computer or include your API key on each command.