title | slug | weight |
---|---|---|
Submitting plugins to Krew |
new-plugin |
100 |
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.
- Review the [Krew plugin naming guide]({{< ref "../develop/naming-guide.md" >}}).
- Read the [plugin development best practices]({{< ref "../develop/best-practices.md" >}}).
- 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]({{< ref "../installing-locally.md" >}}).
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]({{< ref "../../user-guide/install.md" >}}) your plugin through Krew.