kn CLI supports the use of plugins. Plugins enable you to extend the functionality of your
kn installation by adding custom commands and other shared commands that are not part of the core distribution of
The plugins must be named with the prefix
kn- to be detected by
kn. For example,
kn-func will be detected but
func won't be detected.
How to install a plugin¶
You can manually install all plugins. To manually install a plugin:
- Download the current release of the plugin from GitHub. See the list of Knative plugins you can download.
- Rename the file to remove the OS and architecture information. For example, rename
- Make the plugin executable. For example,
chmod +x kn-admin.
- Move the file to a directory on your
PATH. For example,
You can install some plugins can be installed using the Knative plugins Homebrew Tap. For example, you can install the
kn-admin plugin by running
brew install knative-sandbox/kn-plugins/admin.
List of Knative plugins¶
|Plugin||Description||Available via Homebrew?|