Skip to content

heroku/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

428d254 · Apr 11, 2025
Mar 27, 2025
Aug 19, 2024
Aug 10, 2023
Apr 11, 2025
Apr 11, 2025
Feb 18, 2025
Aug 26, 2020
Jul 16, 2024
Apr 20, 2023
Apr 20, 2023
Feb 20, 2025
Apr 9, 2018
Feb 6, 2025
Aug 30, 2017
Dec 31, 2017
Jan 31, 2025
Aug 10, 2023
Apr 11, 2025
Jan 30, 2025
Feb 20, 2025
Jan 31, 2025
Apr 14, 2020
Jan 31, 2025
Jun 20, 2018
Nov 6, 2023
Jun 20, 2018
Feb 27, 2025
Apr 9, 2025
Feb 20, 2025
Apr 13, 2023
Apr 11, 2025
Dec 10, 2024
Apr 10, 2025

Repository files navigation

Heroku CLI

Heroku logo Node CI Suite npm ISC License

The Heroku CLI is used to manage Heroku apps from the command line. It is built using oclif.

For more about Heroku see https://www.heroku.com/home

To get started see https://devcenter.heroku.com/start

Overview

This is the next generation Node-based Heroku CLI. The goals of this project were to make plugins more flexible, remove Ruby as a runtime dependency, and make the CLI faster.

It has identical functionality to the old Ruby CLI. Under the hood, it is a modular CLI made up of node.js plugins.

For more on developing plugins, read Developing CLI Plugins

Issues

For problems directly related to the CLI, add an issue on GitHub.

For other issues, submit a support ticket.

Contributors

Command Topics

Developing

This project is built with lerna. The core plugins are located in ./packages.

After cloning the repo

  1. Run yarn to install dependencies
  2. Run yarn build to build the CLI. This will need to be re-run any time you make changes and want to test them locally.

To execute Heroku CLI commands locally, use ./bin/run <command>. For example, to run the heroku apps command with your local code, run ./bin/run apps from the root directory.

Testing

Run all tests with yarn test.

Debugging

Using WebStorm (from JetBrains / IntelliJ), you can run/debug an individual test case.

  • Create a new run/debug configuration
  • Select the 'Mocha' type

Releasing

See the Heroku CLI Release Steps.

Review our PR guidelines.