Using CLI Plugins
Last updated June 16, 2023
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-repo
Finding Installed Plugins
To see a list of installed plugins, run this command.
$ heroku plugins
heroku-repo@1.0.0
Removing Plugins
To remove installed plugins, run this command.
$ heroku plugins:uninstall heroku-repo
Updating Plugins
Plugins auto-update alongside the CLI. To trigger an update directly, run this command.
$ heroku update