heroku Command Line Download and install

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

OS X

Download and run the OS X installer.

Windows

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

Debian/Ubuntu

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


Got any heroku Question?