# Install truffle with Homebrew

Development environment, testing framework and asset pipeline for Ethereum. Version 5.11.5 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:truffle
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install truffle
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:truffle
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/truffle>
- **Version:** 5.11.5
- **Source summary:** Development environment, testing framework and asset pipeline for Ethereum
- **Homepage:** <https://trufflesuite.com>
- **Repository:** <https://github.com/ConsenSys-archive/truffle>
- **Upstream docs:** <https://archive.trufflesuite.com/docs/truffle>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/truffle/-/truffle-5.11.5.tgz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- truffle (cli)
- truffle (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.11.5
- Local data: ok
- Upstream repository: https://trufflesuite.com
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Truffle was one of the defining early Ethereum developer tools: a CLI, testing framework, migration system, and asset pipeline for Solidity and EVM application work.

### Project history

Truffle emerged in the early Ethereum tooling era, before the modern Hardhat and Foundry landscape had settled. The Truffle team's own comparison with Hardhat says Truffle was released first, was initially written in CoffeeScript, and was rewritten to ES6 JavaScript in 2015.

The project became the center of a broader Truffle Suite. Its README describes a developer environment with contract compilation, linking, deployment, Mocha/Chai testing, build pipelines, migrations, network management, an interactive console, and script execution inside a Truffle environment.

By the late 2010s and early 2020s, Truffle was closely associated with Ganache, Drizzle, boxes, the debugger, and other Ethereum developer tools. A Truffle retreat post described the team's mission as building useful tools for blockchain technologies and listed Truffle 4.0, Ganache, Drizzle, and other roadmap items.

Consensys announced on September 21, 2023 that Truffle and Ganache would be sunset, with migration guidance toward Hardhat, Foundry, Remix, Thirdweb, OpenZeppelin, and other ecosystem tools. The announcement said support would continue for about 90 days and that the codebases would remain public archives starting December 20, 2023. GitHub now marks the repository archived and read-only.

### Adoption history

Truffle became popular because it wrapped the messy early Ethereum development workflow into one project directory and one CLI. Developers could initialize a project, compile contracts, run migrations, start a local chain, and run tests without wiring every piece by hand.

Its adoption was reinforced by npm global installation, Homebrew packaging, Truffle Boxes, and documentation that targeted full dapp workflows. For several years, 'truffle init', 'truffle compile', 'truffle migrate', and 'truffle test' were common muscle-memory commands for Ethereum developers.

The later sunset did not erase that role; it marked a transition in the ecosystem. Consensys explicitly acknowledged that Truffle and Ganache had enabled many Ethereum projects and then directed users toward maintained successors.

### How it is used

A typical Truffle workflow starts in an empty project with 'truffle init', then uses 'truffle compile', 'truffle migrate', and 'truffle test' to compile, deploy, and test smart contracts. More advanced projects configure networks, compilers, migrations, dashboards, and external scripts in a Truffle config file.

For package nerds, Truffle is notable because it is a Node-based CLI distributed through npm but also available through Homebrew. It represents the era when global developer CLIs became the installable control plane for blockchain project scaffolding.

### Why package nerds care

Truffle is historically significant because many Ethereum starter projects, tutorials, CI jobs, and developer machines assumed the truffle executable existed. Even after the sunset, packages and archived docs remain useful for maintaining older Solidity projects.

Its Homebrew formula is a fossil record of web3 tooling's first mainstream package-manager phase: install a global CLI, create a project skeleton, and let the tool orchestrate compilers, local chains, migrations, and tests.

### Timeline

- 2015: Truffle is rewritten to ES6 JavaScript, according to the Truffle team's Hardhat comparison.
- 2017: Truffle team materials discuss Truffle 4.0, Ganache, Drizzle, and a broader suite roadmap.
- 2023-09-21: Consensys announces the sunset of Truffle and Ganache and a Hardhat partnership.
- 2023-12-20: Consensys says Truffle and Ganache codebases will remain available as public archives.
- 2024-02-26: GitHub marks the Truffle repository archived and read-only.

### Related projects

- Ganache provided the local blockchain simulator commonly paired with Truffle workflows.
- Hardhat, Foundry, Remix, Thirdweb, and OpenZeppelin are named by Consensys as migration or ecosystem alternatives.
- Drizzle was part of the broader Truffle Suite for frontend contract interaction.

### Sources

- <https://archive.trufflesuite.com/blog/first-ever-truffle-retreat/>
- <https://archive.trufflesuite.com/blog/truffle-vs-hardhat-breaking-down-the-difference-between-ethereums-top-development-environments/>
- <https://archive.trufflesuite.com/docs/truffle/>
- <https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat>
- <https://github.com/ConsenSys-archive/truffle>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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: truffle-config.js, truffle.js
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** truffle
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [clarinet](https://www.automicvault.com/pkg/brew/clarinet/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts, testing.
- [foundry](https://www.automicvault.com/pkg/brew/foundry/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, ethereum, evm.
- [solc-select](https://www.automicvault.com/pkg/brew/solc-select/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, ethereum, smart-contracts.
- [solhint](https://www.automicvault.com/pkg/brew/solhint/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, ethereum, smart-contracts.
- [aiken](https://www.automicvault.com/pkg/brew/aiken/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [anchor](https://www.automicvault.com/pkg/brew/anchor/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [stellar-cli](https://www.automicvault.com/pkg/brew/stellar-cli/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [sui](https://www.automicvault.com/pkg/brew/sui/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [truffle](https://www.automicvault.com/pkg/npm/truffle/) - Same normalized package name appears in another local ecosystem. Shared terms: development, ethereum, framework, truffle.
- [truffle](https://www.automicvault.com/pkg/npm/truffle/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/truffle.yml](https://github.com/automic-vault/db/blob/main/combined/truffle.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
