# kubernetes-sigs/krew

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/kubernetes-sigs-krew).**

6,898 stars · 389 forks · Go · apache-2.0

## Links

- GitHub: https://github.com/kubernetes-sigs/krew
- Homepage: https://krew.sigs.k8s.io
- awesome-repositories: https://awesome-repositories.com/repository/kubernetes-sigs-krew.md

## Topics

`k8s-sig-cli` `kubectl` `kubectl-plugins`

## Description

Krew is a command-line extension manager and cross-platform plugin installer designed specifically for the kubectl ecosystem. It functions as a package manager that allows users to discover, install, and update community-driven extensions to add new capabilities to the Kubernetes command line interface.

The project utilizes a manifest-based distribution system where YAML files map binaries to specific operating systems and architectures. This ensures secure deployment through the use of checksums for integrity verification and enables the hosting of both public and private plugin registries.

Its operational surface covers the entire plugin lifecycle, including repository searching, version updates, and the removal of extensions. It also provides tools for plugin developers to define distribution manifests, test installations across target platforms, and automate release cycles via Git-backed registries.

Users can manage their environment by exporting and restoring installed plugin sets or by relocating the application storage path using environment variables.

## Tags

### DevOps & Infrastructure

- [Kubernetes Management](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-management.md) — Acts as the primary package manager for extending the kubectl command line interface with community tools.
- [Kubernetes Ecosystem](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/platforms/kubernetes-ecosystem.md) — Provides a specialized tool for distributing and installing extensions within the Kubernetes ecosystem.
- [Native Installation Upgrades](https://awesome-repositories.com/f/devops-infrastructure/deployment-management/installation-package-management/native-installation-upgrades.md) — Checks for newer versions of installed plugins and upgrades them to provide the latest features and fixes. ([source](https://krew.sigs.k8s.io/docs/))
- [Cross-Platform Installers](https://awesome-repositories.com/f/devops-infrastructure/distribution-packaging/software-distribution/native-installers/cross-platform-installers.md) — Installs plugins by mapping the user's OS and architecture to the correct verified binary.
- [Plugin Managers](https://awesome-repositories.com/f/devops-infrastructure/release-automation/plugin-extensibility/plugin-managers.md) — Provides a way to search and filter available community extensions to find tools that meet user needs. ([source](https://krew.sigs.k8s.io/docs/user-guide/discovering-plugins/))
- [Distribution Metadata](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-applications/chat-interface-deployments/plugin-manifests/distribution-metadata.md) — Defines the metadata and installation instructions required to distribute custom executables as managed plugins. ([source](https://krew.sigs.k8s.io/docs/developer-guide/develop/plugin-development/))
- [Package Manifests](https://awesome-repositories.com/f/devops-infrastructure/asset-metadata-management/asset-metadata-indexers/package-manifests.md) — Uses structured YAML manifests to define plugin versions, metadata, and download URIs for repository indexing. ([source](https://krew.sigs.k8s.io/docs/))
- [Package Distribution](https://awesome-repositories.com/f/devops-infrastructure/package-distribution.md) — Publishes extension packages to a shared repository for cross-platform discovery and installation. ([source](https://krew.sigs.k8s.io/))
- [Plugin Distribution Packages](https://awesome-repositories.com/f/devops-infrastructure/package-distribution/plugin-distribution-packages.md) — Packages and publishes command-line extensions as installable modules to a central index. ([source](https://cdn.jsdelivr.net/gh/kubernetes-sigs/krew@master/README.md))
- [Git Release Automators](https://awesome-repositories.com/f/devops-infrastructure/release-automation/git-release-automators.md) — Automates plugin version updates in the registry by triggering pull requests on new Git tags. ([source](https://krew.sigs.k8s.io/docs/developer-guide/release/automating-updates/))
- [Plugin Publishing](https://awesome-repositories.com/f/devops-infrastructure/release-automation/plugin-extensibility/plugin-publishing.md) — Allows plugin authors to submit manifests to a central registry for community discovery and installation. ([source](https://krew.sigs.k8s.io/docs/developer-guide/release/new-plugin/))

### Business & Productivity Software

- [Cross-Platform Binary Distribution](https://awesome-repositories.com/f/business-productivity-software/cross-platform-binary-distribution.md) — Distributes pre-compiled binaries compatible with multiple operating systems and architectures.

### Development Tools & Productivity

- [CLI Extension Managers](https://awesome-repositories.com/f/development-tools-productivity/cli-extension-managers.md) — Provides a system for discovering, installing, and managing custom CLI extensions via a central index.
- [Command Line Interface Plugins](https://awesome-repositories.com/f/development-tools-productivity/command-line-interface-plugins.md) — Provides a framework for discovering and installing community-developed plugins to extend the kubectl command line interface. ([source](https://cdn.jsdelivr.net/gh/kubernetes-sigs/krew@master/README.md))
- [Cross-Platform Package Managers](https://awesome-repositories.com/f/development-tools-productivity/cross-platform-package-managers.md) — Implements a package management system that provides a unified installation interface across different operating systems. ([source](https://krew.sigs.k8s.io/))
- [Executable Binary Mapping](https://awesome-repositories.com/f/development-tools-productivity/executable-binary-mapping.md) — Maps specific binary files to a standardized command name for seamless shell execution across different operating systems. ([source](https://krew.sigs.k8s.io/docs/developer-guide/plugin-manifest/))
- [Extensible Command-Line Interfaces](https://awesome-repositories.com/f/development-tools-productivity/extensible-command-line-interfaces.md) — Manages the lifecycle of cross-platform binary plugins through YAML manifests and centralized indexes.
- [Integrity Verification](https://awesome-repositories.com/f/development-tools-productivity/package-distribution/secure-distribution-workflows/integrity-verification.md) — Uses YAML manifests to specify plugin checksums, ensuring the integrity and security of downloaded binaries. ([source](https://krew.sigs.k8s.io/docs/developer-guide/plugin-manifest/))
- [Plugin Management](https://awesome-repositories.com/f/development-tools-productivity/plugin-management.md) — Handles the discovery, installation, verification, and updating of kubectl extensions.
- [Plugin Set Replication](https://awesome-repositories.com/f/development-tools-productivity/application-settings/settings-restoration/plugin-set-replication.md) — Saves the list of installed plugins to a file and restores them to recreate the environment on another machine. ([source](https://krew.sigs.k8s.io/docs/user-guide/list/))
- [Command Line Extensions](https://awesome-repositories.com/f/development-tools-productivity/command-line-extensions.md) — Provides a framework for creating custom command-line extensions to automate repetitive technical tasks. ([source](https://krew.sigs.k8s.io/docs/developer-guide/develop/best-practices/))
- [Installed Package Management](https://awesome-repositories.com/f/development-tools-productivity/installed-package-management.md) — Includes utilities for querying the list of plugins currently installed on the system. ([source](https://krew.sigs.k8s.io/docs/user-guide/list/))
- [Plugin Development Workflows](https://awesome-repositories.com/f/development-tools-productivity/plugin-development-workflows.md) — Facilitates the building and testing of specialized plugins to automate technical tasks.
- [Plugin Distribution Tools](https://awesome-repositories.com/f/development-tools-productivity/plugin-distribution-tools.md) — Provides mechanisms to update plugin manifests with new versions and checksums to deliver updated binaries. ([source](https://krew.sigs.k8s.io/docs/developer-guide/release/updating-plugins/))
- [Third-Party Registries](https://awesome-repositories.com/f/development-tools-productivity/plugin-managers/third-party-registries.md) — Enables users to add, remove, and list third-party plugin repositories for expanded tool discovery. ([source](https://krew.sigs.k8s.io/docs/))
- [Private Plugin Registry Hosting](https://awesome-repositories.com/f/development-tools-productivity/private-plugin-registry-hosting.md) — Maintains private repositories of plugin manifests to control the distribution lifecycle of internal tools. ([source](https://krew.sigs.k8s.io/docs/developer-guide/custom-indexes/))
- [Registry Overrides](https://awesome-repositories.com/f/development-tools-productivity/terminal-shell-cli/shell-plugin-systems/custom-plugin-management/registry-overrides.md) — Allows pointing the package manager to a custom git repository URI instead of the standard index. ([source](https://krew.sigs.k8s.io/docs/user-guide/advanced-configuration/))

### Operating Systems & Systems Programming

- [Cross-Platform Binary Mappings](https://awesome-repositories.com/f/operating-systems-systems-programming/cross-platform-binary-mappings.md) — Maps specific binaries to different operating systems and architectures to ensure compatible plugin delivery.

### Software Engineering & Architecture

- [Plugin Installation Utilities](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/extensibility/plugin-architectures/plugin-installation-utilities.md) — Automates the download and integrity verification of plugins to ensure safe execution. ([source](https://krew.sigs.k8s.io/docs/user-guide/installing-plugins/))
- [Plugin Registries](https://awesome-repositories.com/f/software-engineering-architecture/plugin-registries.md) — Uses a Git repository as a version-controlled registry for plugin discovery and community contributions.
- [Plugin Distributions](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/architectural-patterns/plugin-module-systems/modular-plugin-architectures/plugin-based-architectures/plugin-based-architectures/plugin-distributions.md) — Implements a manifest-based distribution system using YAML to map plugins to versioned URIs and checksums.
- [Curated Index Discovery](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/extensibility/plugin-architectures/registration-discovery-systems/directory-based-plugin-discovery/curated-index-discovery.md) — Searches through a curated list of compatible tools to find extensions that meet user requirements. ([source](https://cdn.jsdelivr.net/gh/kubernetes-sigs/krew@master/README.md))

### Data & Databases

- [Package Search Interfaces](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-information-retrieval/matching-ranking-logic/fuzzy-search-engines/package-search-interfaces.md) — Offers an interface for searching through a curated database of available extensions to find specific tools. ([source](https://krew.sigs.k8s.io/))

### Security & Cryptography

- [File Integrity Verifiers](https://awesome-repositories.com/f/security-cryptography/file-integrity-verifiers.md) — Verifies the integrity of downloaded plugin binaries using cryptographic digests before execution.
