# Install crytic-compile with Homebrew

Abstraction layer for smart contract build systems. Version 0.4.2 via Homebrew; verified 2026-07-30.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:crytic-compile
- **Package manager:** Homebrew
- **Version:** 0.4.2
- **Source summary:** Abstraction layer for smart contract build systems
- **Homepage:** <https://github.com/crytic/crytic-compile>
- **Repository:** <https://github.com/crytic/crytic-compile>
- **Last updated:** 2026-07-30T01:26:44Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- crytic-compile (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.4.2
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- 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)


## Sources

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