Using CLI Plugins
Last updated November 27, 2024
Developers can use plugins to extend the functionality of the Heroku command interface by adding commands or features. To write your own plugin, read Developing CLI Plugins.
plugins list installed plugins
plugins:install PLUGIN installs a plugin into the CLI
plugins:link [PATH] links a local plugin to the CLI for development
plugins:uninstall PLUGIN uninstalls or unlinks a plugin
plugins:update updates installed plugins
Installing Plugins
To install a plugin, you need the package name for the plugin. Use the heroku plugins:install
command, and specify the Git repo.
$ heroku plugins:install @heroku-cli/heroku-builds
Finding Installed Plugins
To see a list of installed plugins, run this command.
$ heroku plugins
@heroku-cli/heroku-builds 1.0.6
Removing Plugins
To remove installed plugins, run this command.
$ heroku plugins:uninstall @heroku-cli/heroku-builds
Updating Plugins
Plugins auto-update alongside the CLI. To trigger an update directly, run this command.
$ heroku update