# 使用 Homebrew 安装 kosli-cli

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

## 安装

```sh
sudo av install brew:kosli-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kosli-cli
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:kosli-cli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kosli-cli>
- **版本:** 2.31.0
- **来源摘要:** CLI for managing Kosli
- **主页:** <https://docs.kosli.com>
- **仓库:** <https://github.com/kosli-dev/cli>
- **上游文档:** <https://docs.kosli.com/client_reference>
- **许可证:** MIT
- **源码归档:** <https://github.com/kosli-dev/cli/archive/refs/tags/v2.31.0.tar.gz>
- **最后更新:** 2026-07-06T15:30:03Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- kosli (cli)
- kosli (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.31.0
- 管理器更新时间: 2026-07-06
- 本地数据: OK
- 上游仓库: https://github.com/kosli-dev/cli
- 检测到的最新版本: v2.31.0 (当前)
## 项目历史与用法

Kosli CLI is the command-line client for recording and querying software delivery events in Kosli. Its history is tied to the rise of audit trails, deployment attestations, and continuous-compliance tooling in CI/CD pipelines.

### 项目历史

The GitHub repository was created on 2021-04-13. Release metadata shows v0.1.0 published on 2021-04-29, followed by a fast early cadence through v0.3.0 on 2021-08-19 and a long 2.x series by 2026.

The official README describes the repository as containing the Kosli CLI for recording and querying software delivery events to Kosli. The official install documentation lists package managers, pre-built binaries, Docker images, and source builds as supported installation paths.

### 采用历史

Kosli CLI adoption is primarily tied to Kosli users rather than broad general-purpose developer-tool adoption. Homebrew packaging matters because CI/CD and DevOps teams often install such CLIs on laptops, build runners, and scripts without checking out source code.

GitHub repository metadata observed on 2026-07-01 reported 15 stars and 7 forks, so the public open-source footprint is modest even though the CLI is central to Kosli's product workflow.

### 使用方式

Users run `kosli` commands to report compliance and delivery events, query trails, and integrate Kosli with pipelines. Configuration and credentials can be supplied through Kosli config files such as `kosli.yaml`, `kosli.yml`, `kosli.json`, or `kosli.toml`.

The CLI is most relevant in automated delivery systems where build, artifact, pull-request, and deployment events need to be linked into an auditable trail.

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

Kosli CLI is package-nerd significant as an example of a SaaS workflow becoming a first-class package-manager formula: the service is external, but the reproducible local command is what users install, pin, and automate.

It also reflects the wider move from CI scripts that only build and deploy toward CLIs that produce attestations, evidence, and compliance records.

### 时间线

- 2021-04-13: GitHub repository created.
- 2021-04-29: v0.1.0 published in GitHub release metadata.
- 2021-08-19: v0.3.0 published in GitHub release metadata.
- 2026-06-29: GitHub repository page listed v2.29.0 as a release.

### Related projects

- Kosli CLI is related to CI/CD systems, artifact provenance tools, deployment audit trails, Open Policy Agent policy checks, and supply-chain attestation tooling.
- Within the Kosli ecosystem, it pairs with Kosli Trails and setup actions for installing the CLI in GitHub Actions.

### 来源

- <https://api.github.com/repos/kosli-dev/cli>
- <https://api.github.com/repos/kosli-dev/cli/releases>
- <https://docs.kosli.com/client_reference>
- <https://docs.kosli.com/getting_started/install>
- <https://github.com/kosli-dev/cli>


## 安全说明

没有找到 kosli-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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

- Unix: kosli.yaml, kosli.yml, kosli.json, kosli.toml

## Credential files

- Unix: kosli.yaml, kosli.yml, kosli.json, kosli.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kosli-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [flowpipe](https://www.automicvault.com/zh-hans/pkg/brew/flowpipe/) - Shares av.db curated category or tags: cli, developer-tools, devops.
- [preevy](https://www.automicvault.com/zh-hans/pkg/brew/preevy/) - Shares av.db curated category or tags: cli, developer-tools, devops.
- [act](https://www.automicvault.com/zh-hans/pkg/brew/act/) - Shares av.db curated category or tags: cli, developer-tools, devops.
- [changie](https://www.automicvault.com/zh-hans/pkg/brew/changie/) - Shares av.db curated category or tags: cli, developer-tools, devops.
- [coder](https://www.automicvault.com/zh-hans/pkg/brew/coder/) - Shares av.db curated category or tags: cli, developer-tools, devops.
- [flyway](https://www.automicvault.com/zh-hans/pkg/brew/flyway/) - Shares av.db curated category or tags: cli, developer-tools, devops.
- [gitea](https://www.automicvault.com/zh-hans/pkg/brew/gitea/) - Shares av.db curated category or tags: cli, developer-tools, devops.
- [glab](https://www.automicvault.com/zh-hans/pkg/brew/glab/) - Shares av.db curated category or tags: cli, developer-tools, devops.
- [jenkins](https://www.automicvault.com/zh-hans/pkg/brew/jenkins/) - Local package facts share a topical domain. Shared terms: cli, continuous, developer, developer-tools, devops.

## Combined YAML source

View the package source record on GitHub. [combined/kosli-cli.yml](https://github.com/automic-vault/db/blob/main/combined/kosli-cli.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
