# 使用 Homebrew 安装 cycode

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cycode
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cycode
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cycode>
- **版本:** 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>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/c7/47/d7889309127cf201998cb2d1bb85b4d78fb5fdc973b17191608be599507e/cycode-3.18.0.tar.gz>
- **最后更新:** 2026-08-04T11:17:23Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cycode (cli)
- cycode (别名)

## 依赖

- certifi
- cryptography
- libyaml
- pydantic
- python@3.14
- rpds-py

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.18.0
- 管理器更新时间: 2026-08-04
- 本地数据: OK
- 上游仓库: https://github.com/cycodehq/cycode-cli
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cycode
- **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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [scrutineer](https://pkg.so/zh-hans/brew/scrutineer/) - Shares pkgdb curated category or tags: application-security, cli, security.
- [ggshield](https://pkg.so/zh-hans/brew/ggshield/) - Shares pkgdb curated category or tags: cli, devsecops, secrets-scanning, security.
- [intercept](https://pkg.so/zh-hans/brew/intercept/) - Shares pkgdb curated category or tags: cli, devsecops, sast, security.
- [gitleaks](https://pkg.so/zh-hans/brew/gitleaks/) - Shares pkgdb curated category or tags: cli, devsecops, security.
- [trufflehog](https://pkg.so/zh-hans/brew/trufflehog/) - Shares pkgdb curated category or tags: cli, secrets-scanning, security.
- [tfsec](https://pkg.so/zh-hans/brew/tfsec/) - Shares pkgdb curated category or tags: cli, iac-scanning, security.
- [talisman](https://pkg.so/zh-hans/brew/talisman/) - Shares pkgdb curated category or tags: cli, devsecops, security.
- [detect-secrets](https://pkg.so/zh-hans/brew/detect-secrets/) - Shares pkgdb curated category or tags: cli, devsecops, security.
- [cve-bin-tool](https://pkg.so/zh-hans/brew/cve-bin-tool/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, cryptography, devsecops, libyaml.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
