pkg.soopen package index

brew / 排名 1302

使用 Homebrew, MacPorts, Nix, pacman, scoop, winget, apk 安装 krew

查看 krew 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install krew

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install krew

MacPorts ports tree · sysutils/krew/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#krew

nixpkgs package indexes · pkgs/by-name/kr/krew/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S krew

Arch Linux sync databases · krew · 来源: geo.mirror.pkgbuild.com

Alpine Linux apk已验证 · 92%
sudo apk add kubectl-krew

Alpine Linux edge package indexes · kubectl-krew · 来源: dl-cdn.alpinelinux.org

Windows

Scoop已验证 · 92%
scoop install main/krew

Scoop official bucket manifest trees · bucket/krew.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Kubernetes.krew -e

Windows Package Manager source index · Kubernetes.krew · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Package manager for kubectl plugins

命令和别名

  • kubectl-krew

历史

项目历史与用法

Krew is the Kubernetes SIG CLI package manager for kubectl plugins. It is package-nerd significant because it brings a Homebrew-like install, search, update, and index model inside the kubectl plugin ecosystem.

项目历史

The krew repository was created on 2018-07-12, and the first v0.1.0-alpha.1 release was published on 2018-07-30. The project README describes Krew as a package manager for kubectl plugins that helps users discover, install, and manage plugins, and helps plugin developers package and distribute plugins across platforms.

Krew exists because kubectl plugins are ordinary executables named with the kubectl- prefix and found on PATH. Kubernetes documentation describes that plugin mechanism and identifies Krew as a SIG CLI-maintained way to discover and install community plugins.

采用历史

Krew became the de facto index-driven distribution channel for kubectl plugins because it solved discovery and update management for a plugin system that otherwise only specifies executable naming. The Kubernetes blog recommended Krew in 2020 for plugin installation experience and discoverability.

The Krew README says that more than 200 kubectl plugins were available through Krew in the documentation state used for this 2026-07-01 batch, showing a mature plugin catalog rather than a single-tool installer.

使用方式

Users install Krew as the kubectl-krew plugin, add its bin directory to PATH, and then run commands such as kubectl krew search, kubectl krew install, kubectl krew list, kubectl krew update, and kubectl krew upgrade.

Plugin authors package manifests in the krew-index repository so their kubectl plugins can be discovered and installed consistently on Linux, macOS, and Windows.

为什么软件包爱好者会关心

Krew is a package manager distributed as a plugin for the tool whose plugins it manages, which makes it a neat recursive packaging artifact. It also codifies an index and lifecycle around kubectl plugins without changing kubectl's intentionally simple PATH-based plugin contract.

时间线

  • 2018-07-12: The kubernetes-sigs/krew repository was created.
  • 2018-07-30: Krew v0.1.0-alpha.1 was released.
  • 2020-02-28: The Kubernetes blog recommended Krew for kubectl plugin distribution and discoverability.
  • 2026-02-26: Krew v0.5.0 was released.

Related projects

  • kubectl is the host CLI whose plugin convention Krew uses. krew-index is the companion plugin index. Kubernetes SIG CLI is the community home for the project.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:package manager

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kubectl-krew可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.5.0
管理器更新时间2026-06-22
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:krew
版本0.5.0
软件包管理器Homebrew
主页https://sigs.k8s.io/krew/
仓库https://github.com/kubernetes-sigs/krew
最后更新2026-06-22T14:03:53-07:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

krew

nix profile install nixpkgs#krew
  • normalized package name match
  • 匹配方式:Krew
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/kr/krew/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

krew 0.5.0-1

Find and install kubectl plugins

https://github.com/kubernetes-sigs/krew

sudo pacman -S krew
  • License: Apache-2.0
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Krew
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: krew from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

krew

sudo port install krew
  • normalized package name match
  • 匹配方式:Krew
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/krew/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/krew

scoop install main/krew
  • normalized package name match
  • 匹配方式:Krew
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/krew.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Kubernetes.krew

winget install --id Kubernetes.krew -e
  • normalized package name match
  • 匹配方式:Krew
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Kubernetes.krew from https://cdn.winget.microsoft.com/cache/source.msix
apk92%

kubectl-krew 0.5.0-r3

Find and install kubectl plugins

https://krew.sigs.k8s.io/

sudo apk add kubectl-krew
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: kubectl-krew
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Kubectl Krew
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kubectl-krew from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation