Submitting plugins to Krew
Krew maintains a centralized plugin index at the krew-index repository.
This repository is cloned on each Krew user’s machine to help them find
existing plugins.
Pre-submit checklist
- Review the Krew plugin naming guide.
- Read the plugin development best practices.
- Make sure your plugin’s source code is available as open source.
- Adopt an open source license, and add it to your plugin archive file.
- Make sure to extract the LICENSE file during the plugin installation.
- Tag a git release with a semantic
version (e.g.
v1.0.0
).
- Test your plugin installation locally.
Submitting a plugin to krew-index
Once you’ve run through the checklist above, create a pull request to the
krew-index repository with your plugin manifest file (e.g. example.yaml
) to
the plugins/
directory.
After your pull request is merged, users will be able to find and install your plugin through Krew.