# 使用 Homebrew 安装 cycode

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

## 安装

```sh
sudo av install brew:cycode
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cycode
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cycode
- **软件包管理器:** Homebrew
- **版本:** 3.18.0
- **来源摘要:** Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning
- **主页:** <https://github.com/cycodehq/cycode-cli>
- **仓库:** <https://github.com/cycodehq/cycode-cli>
- **最后更新:** 2026-07-24T12:07:28Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cycode (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Cycode CLI is a local and CI-oriented security scanner for Cycode users, covering secrets, infrastructure-as-code misconfigurations, SCA vulnerabilities, and SAST findings.

### 项目历史

The cycode-cli repository was created in July 2022 and published early releases later that year. Its README has grown from a scanner guide into a broader command-line manual covering authentication, configuration, pre-commit and pre-push hooks, repository and path scans, SBOM reports, and an experimental MCP server.

### 采用历史

Official installation paths include PyPI, Homebrew, and GitHub Releases, which lets teams choose between Python packaging, macOS package management, and standalone executables. The README also documents pre-commit integration, making the CLI part of developer workflow rather than only a central CI scanner.

### 使用方式

Users authenticate with cycode auth, cycode configure, or environment variables, then run scans over repositories, paths, commit history, pre-commit, or pre-push contexts. The CLI stores global credentials and URLs under the user's .cycode directory and local ignore rules in .cycode/config.yaml where scans are run.

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

For package maintainers, Cycode CLI is a security SaaS client with real local state: packaging needs to expose the cycode executable cleanly while leaving credentials, service URLs, and ignore-rule config in user- or project-owned YAML files.

### 时间线

- 2022: Repository created and early 0.1.x releases published.
- 2023: 0.2.x releases continued the CLI line.
- 2026: 3.x releases remained active with scanner and workflow features documented in the README.

### Related projects

- The CLI integrates with pre-commit and with Cycode's hosted service through client credentials, OIDC tokens, and Cycode API and app URLs.

### 来源

- <https://github.com/cycodehq/cycode-cli/blob/main/README.md>
- <https://api.github.com/repos/cycodehq/cycode-cli>
- <https://github.com/cycodehq/cycode-cli/releases>
- <https://formulae.brew.sh/formula/cycode>


## 安全说明

没有找到 cycode 的匹配本地密钥处理 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: ~/.cycode/config.yaml, ./.cycode/config.yaml

## Credential files

- Unix: ~/.cycode/credentials.yaml

## Combined YAML source

View the package source record on GitHub. [combined/cycode.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cycode.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
