Command Line

The heroku command-line interface (CLI) is a tool that wraps the Heroku Platform API, providing support for things like creating/renaming apps, running one-off dynos, taking backups, configuring add-ons and managing your app’s state-all from the terminal. It’s generally installed in your local development operating system as part of the Heroku Toolbelt.

Using the CLI

Using SSH

Extending the CLI

The command-line tool also has a plugin architecture that allows developers to extend its functionality.