The Gradient CLI is available on pypi and works on Windows, MacOS, and Linux.
The CLI requires Python 2.7 or Python 3.4+. Be sure to use a compatible version of pip depending on your Python version.
pip install -U gradient
Using pip to install the latest prerelease
pip install -U --pre gradient
You can either stash your API key on your computer or include your API key on each command.
gradient apiKey XXXXXXXXXXXXXXXXXXX
gradient experiments run ... --apiKey XXXXXXXXXXXXXXXXXXX
First, sign in to your Paperspace account. On the left of your home console, you should find an 'API' section. There, you'll find a form where you can create API keys. You'll use the API keys you generate here to authenticate your requests.