# 使用 Homebrew 安装 crytic-compile

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

## 安装

```sh
sudo av install brew:crytic-compile
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install crytic-compile
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:crytic-compile
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/crytic-compile>
- **版本:** 0.4.2
- **来源摘要:** Abstraction layer for smart contract build systems
- **主页:** <https://github.com/crytic/crytic-compile>
- **仓库:** <https://github.com/crytic/crytic-compile>
- **许可证:** AGPL-3.0-only
- **源码归档:** <https://files.pythonhosted.org/packages/d3/c1/ba7f089fbf73cef1f1684d8fb5ec7c47d6f81870ca3e21b32aed88196774/crytic_compile-0.4.2.tar.gz>
- **最后更新:** 2026-07-30T01:26:44Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- crytic-compile (cli)
- crytic-compile (别名)

## 依赖

- certifi
- python@3.14

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

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

crytic-compile is a smart-contract compilation abstraction layer from the Crytic ecosystem. It matters to package users because it normalizes many Ethereum project build systems behind one CLI and Python library interface.

### 项目历史

The official README presents crytic-compile as a library for smart contract compilation, with support for direct solc compilation and framework-specific projects including Foundry, Hardhat, Brownie, Truffle, Waffle, Dapp, Embark, Etherlime, Sourcify, and Etherscan-style sources.

### 采用历史

The README says the plugin is used in Trail of Bits tools including Slither, Echidna, Manticore, and evm-cfg-builder. That places crytic-compile in the packaging path for Solidity security-analysis workflows rather than only as a standalone CLI.

### 使用方式

The documented CLI workflow is to run crytic-compile at a project root, for example beside hardhat.config.js or foundry.toml, and produce crytic-export/contracts.json containing AST, ABI, and bytecode data. Advanced options are supplied as CLI flags or library arguments, not through a documented standalone config file.

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

For package managers, crytic-compile is a Python security tool whose value depends on integration with external build frameworks and Solidity compiler tooling. Its distribution via PyPI and Homebrew makes it convenient to install as part of audit and fuzzing toolchains.

### 时间线

- 2019: PyPI release 0.1.0 was uploaded.
- 2026: Release 0.4.1 is current in PyPI and Homebrew metadata.

### Related projects

- The official README names Slither, Echidna, Manticore, and evm-cfg-builder as Trail of Bits tools that use crytic-compile.

### 来源

- <https://github.com/crytic/crytic-compile#readme>
- <https://github.com/crytic/crytic-compile/wiki/Configuration>
- <https://pypi.org/pypi/crytic-compile/json>
- <https://formulae.brew.sh/formula/crytic-compile>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** crytic-compile
- **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.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [echidna](https://pkg.so/zh-hans/brew/echidna/) - Popular package that depends on this formula.
- [medusa](https://pkg.so/zh-hans/brew/medusa/) - Popular package that depends on this formula.
- [slither-analyzer](https://pkg.so/zh-hans/brew/slither-analyzer/) - Shares pkgdb curated category or tags: cli, ethereum, security, smart-contracts, solidity.
- [caracal](https://pkg.so/zh-hans/brew/caracal/) - Shares pkgdb curated category or tags: cli, security, smart-contracts.
- [pywhat](https://pkg.so/zh-hans/brew/pywhat/) - Shares pkgdb curated category or tags: cli, security, security-analysis.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Shares pkgdb curated category or tags: cli, security.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Shares pkgdb curated category or tags: cli, security.
- [p11-kit](https://pkg.so/zh-hans/brew/p11-kit/) - Shares pkgdb curated category or tags: cli, security.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
