Using CLI Plugins
Last updated March 13, 2023
Plugins allow developers to extend the functionality of the Heroku command interface, 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 plugin
To install a plugin, you need to know the package name for the plugin Use the heroku plugins:install
command, and specify the git repo:
$ heroku plugins:install heroku-repo
List plugins
To see a list of currently installed plugins:
$ heroku plugins
heroku-repo@1.0.0
Removing plugins
$ heroku plugins:uninstall heroku-repo
Updating plugins
Plugins will autoupdate alongside the CLI, but to trigger an update directly run:
$ heroku update