home / cloud / heroku

Heroku CLI

Official · Heroku
877

Official Heroku CLI for apps, releases, add-ons, logs, pipelines, and platform operations from the terminal.

$brew install heroku/brew/heroku
Language
TypeScript
Stars
877
Category
Cloud & Storage
Agent
Ready
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis

Heroku CLI is Heroku's official control surface for deploying and operating apps, add-ons, pipelines, data services, and account resources from the shell. It covers both first deploy setup and day-2 tasks like config changes, releases, logs, database maintenance, and one-off dyno commands.

What It Enables
  • Create and configure Heroku apps, attach add-ons, deploy container or git-based workloads, and run one-off dyno commands without leaving the terminal.
  • Inspect and operate live apps with releases, logs, errors, domains, certs, spaces, pipelines, review apps, and team or access controls.
  • Manage Heroku Postgres and Redis resources with backups, credentials, maintenance actions, diagnostics, and other data-service operations.
Agent Fit
  • Many resource and info commands expose --json, which works well for inspect, parse, and follow-up mutation loops.
  • Once auth and app context are in place, the CLI is broad enough to handle most Heroku day-2 operations directly, but logs and some workflows remain plain-text or streaming rather than structured.
  • Browser login by default and confirmation-gated destructive actions add friction for unattended bootstrap or mutation flows, though MCP support is available when a team wants that integration model.
Caveats
  • You need a Heroku account and auth context, and many commands expect --app or a git remote to resolve the target app.
  • Some high-value workflows are still interactive or text-heavy, especially browser-based login, streaming logs, and destructive commands that require explicit confirmation.