# 使用 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
- **版本:** 0.4.2
- **来源摘要:** Abstraction layer for smart contract build systems
- **主页:** <https://github.com/crytic/crytic-compile>
- **仓库:** <https://github.com/crytic/crytic-compile>
- **最后更新:** 2026-07-30T01:26:44Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- crytic-compile (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
