browse
heroku/

Heroku CLI

Salesforce/Heroku

Command line interface for creating, managing, and deploying applications on Heroku.

Cloud ProvidersJSON
01Agent Notes

heroku uses `heroku <topic>:<command>` pattern (e.g., `heroku apps:info`). Pass `--json` where supported. Use `--app` or git remote to target apps. Key topics: apps, addons, config, domains, logs, pg, ps, releases, run.


02Global Flags
FlagTypeDescription
--app/-astringApp name to operate on
--remote/-rstringGit remote to target
--jsonbooleanOutput results as JSON

03Authentication
Methods
access-tokenenvironment-variablesconfig-file
Env vars
HEROKU_API_KEY
Config files
~/.netrc
Setupheroku login

04Install
brew install heroku/brew/heroku

05Capabilities
Reference
binaryheroku
checkheroku --version
authaccess-token, environment-variables, config-file
formatstext, json
json flag--json
version10.17.0