A mise backend plugin that installs krew kubectl plugins with version pinning support.
Krew is the package manager for kubectl plugins. Normally, krew only installs the latest version of a plugin. This mise backend lets you install specific versions of krew plugins and manage them via mise's standard tooling.
Add to your mise.toml:
[plugins]
krew = "https://github.com/soupglasses/mise-krew"
[tools]
"krew:tree" = "latest"Then run mise install.
mise plugin install krew https://github.com/soupglasses/mise-krewInstall a krew plugin (latest version):
mise use krew:tree # Installs kubectl-tree
kubectl-tree --version # v0.4.6Pin a specific version:
mise use krew:volsync@v0.10.0List available versions:
mise ls-remote krew:volsync
# v0.6.0
# v0.6.1
# ...
# v0.10.0Configure in mise.toml:
[tools]
"krew:volsync" = "v0.10.0"
"krew:tree" = "latest"Note: First run for a tool fetches version history from krew-index and may take a few seconds.
- Fetches plugin manifests from the krew-index git repository
- Extracts version history from git commits
- Downloads platform-specific artifacts directly from upstream URLs
- Verifies SHA256 checksums
- Extracts and installs according to manifest
files[]mappings
See DEVELOPMENT.md.