Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including heroku with all npm packages installed. Try it out:

var heroku = require("heroku")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

heroku v7.30.0

CLI to interact with Heroku

Heroku CLI

Heroku logo

Circle CI Build status CircleCI Snap Status ISC License npm

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

For more about Heroku see

To get started see


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


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

For other issues, submit a support ticket.


# Command Topics


This project is built with lerna. The core plugins are located in ./packages. Run lerna bootstrap after cloning the repository to set it up.

To cut a release, simply run lerna publish and it will create a CHANGELOG from the pending commits using Conventional Commits. CircleCI will run the jobs to publish the CLI once it receives the git tag.

Review our PR guidelines.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free