Install the CLI

How to install the Paperspace CLI


The Paperspace CLI is available on pypi and anaconda and works on Windows, MacOS, and Linux.

Option 1: Using pip or conda

Using pip

$ pip install paperspace

Using conda

$ conda install -c paperspace paperspace

Option 2: Download the binaries

Pre-built binaries are available for Windows, Mac, and Linux. These binaries enable you to run the CLI without any additional packages. Be sure to add the directory where the binary is installed to your path.

Connecting your account

You can either log in via the command line or use your API key to connect your account.


$ paperspace login
Password: ******

Obtaining an API key

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.

API keys section of the console (