# 使用 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
- **版本:** 2.36.3
- **来源摘要:** CLI for managing Kosli
- **主页:** <https://docs.kosli.com>
- **仓库:** <https://github.com/kosli-dev/cli>
- **最后更新:** 2026-07-31T12:50:26Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kosli (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.36.3
## 项目历史与用法

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

## Combined YAML source

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


## 来源

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