heroku Command Line Download and install



Download and run the OS X installer.


Download and run the Windows installer 32-bit 64-bit.


Run the following to add our apt repository and install the CLI:

$ sudo add-apt-repository "deb https://cli-assets.heroku.com/branches/stable/apt ./"
$ curl -L https://cli-assets.heroku.com/apt/release.key | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install heroku

Standalone version

Download the tarball and extract it so that you can access the binary from your PATH. For example:

$ echo replace OS/ARCH with values as noted below
$ wget https://cli-assets.heroku.com/branches/stable/heroku-OS-ARCH.tar.gz
$ tar -xvzf heroku-OS-ARCH /usr/local/lib/heroku
$ ln -s /usr/local/lib/heroku/bin/heroku /usr/local/bin/heroku

Verify your installation

To verify your CLI installation use the heroku --version command.

$ heroku --version
heroku-cli/5.6.0-010a227 (darwin-amd64) go1.7.4