pkg.soopen package index

brew / 排名 3351

使用 Homebrew, Nix 安装 kn

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kn

local Homebrew formula metadata

Linux

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

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

概览

软件包摘要

Command-line interface for managing Knative Serving and Eventing resources

命令和别名

  • kn

历史

项目历史与用法

`kn` is the official Knative command-line client, built to let users create and manage Knative Serving and Eventing resources without writing Kubernetes YAML by hand.

项目历史

Knative was released by Google in July 2018 as a serverless application layer on Kubernetes, with early collaboration from VMware, IBM, Red Hat, and SAP. The `kn` client emerged as the developer-facing command surface for that ecosystem; GitHub release data shows Knative Client v0.1.0 published on 2019-05-18.

The client documentation describes `kn` as an interface for Knative Services and Event Sources, including higher-level operations such as autoscaling and traffic splitting. The repository README also documents support for Serving resources, growing Eventing support, plugin architecture, and use from scripts or Tekton tasks.

采用历史

The client tracks Knative's own maturation. Knative 1.0 was announced in 2021 with over 600 contributors and described Knative as the most widely installed serverless layer on Kubernetes. CNCF accepted Knative as an incubating project on 2022-03-02 and later listed it as graduated on 2025-09-11, which strengthened `kn` as the default CLI interface for a vendor-neutral cloud-native project.

使用方式

Users run `kn` to create services, list and inspect resources, split traffic between revisions, work with Eventing sources and triggers, and script Knative workflows. Its documented configuration uses `~/.config/kn/config.yaml` on Unix systems, while cluster credentials usually come from Kubernetes kubeconfig handling such as `~/.kube/config` or `KUBECONFIG`.

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

`kn` matters because it packages a complex Kubernetes CRD ecosystem into a small Go CLI. For package maintainers, it is part of the broader pattern where cloud-native projects ship a narrowly scoped binary that wraps Kubernetes APIs while still relying on kubeconfig and shell completion conventions users already know.

时间线

  • 2018-07: Google released Knative, later described by Knative 1.0 materials as developed with VMware, IBM, Red Hat, and SAP.
  • 2019-05-18: Knative Client v0.1.0 published on GitHub.
  • 2020-10-07: Knative Client v0.18.0 released with additional Eventing support.
  • 2021: Knative 1.0 announced as a production-readiness milestone with over 600 contributors.
  • 2022-03-02: CNCF accepted Knative as an incubating project.
  • 2025-09-11: CNCF project page lists Knative as moving to graduated maturity.

Related projects

  • `kn` is related to Knative Serving, Knative Eventing, Kubernetes, kubectl plugin conventions, Tekton, CloudEvents, and distribution-specific serverless platforms such as OpenShift Serverless.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/kn/config.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.kube/config

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

安装元数据

软件包元数据

软件包键brew:kn
版本1.23.0
软件包管理器Homebrew
主页https://github.com/knative/client
仓库https://github.com/knative/client
最后更新2026-07-29T18:10:56Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Nix95%

kn

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

来源线索

由仓库数据生成

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

Combined YAML source

View the package source record on GitHub.

combined/kn.yml

使用的来源

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