(based on https://devcenter.heroku.com/articles/heroku-command-line)
First, build and install the CLI snap:
- sudo apt install git snapcraft
- git clone https://github.com/elopio/cli-1
- cd cli-1
- git checkout snapcraft
- snapcraft
- sudo snap install heroku*.snap
Print the help:
$ heroku help
$ heroku -h
$ heroku --help
$ heroku _
Usage: heroku COMMAND [--app APP] [command-specific-options]
[...]
heroku update # update heroku-cli
Print the version:
$ heroku version
$ heroku --version
$ heroku -v
heroku-cli/dev (linux-amd64) go1.6.2 ?
The following steps require an account in https://www.heroku.com/. The basic plan is free, and it should be more than enough for testing the snap.
$ heroku login
Enter your Heroku credentials.
Email: $USER_EMAIL