# Install foundry with Homebrew, apk, dnf, Nix, pacman, winget, zypper

Blazing fast, portable and modular toolkit for Ethereum application development. Version 1.7.1 via Homebrew; verified 2026-05-08.

## Install

```sh
sudo av install brew:foundry
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install foundry
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add foundry
```

  Evidence: Alpine Linux edge package indexes: foundry from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install foundry
```

  Evidence: Fedora Rawhide package metadata: foundry from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#foundry
```

  Evidence: nixpkgs package indexes: pkgs/by-name/fo/foundry/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S foundry
```

  Evidence: Arch Linux sync databases: foundry from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install foundry
```

  Evidence: openSUSE Tumbleweed package metadata: foundry from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Microsoft.FoundryLocal -e
```

  Evidence: Windows Package Manager source index: Microsoft.FoundryLocal from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:foundry
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/foundry>
- **Version:** 1.7.1
- **Source summary:** Blazing fast, portable and modular toolkit for Ethereum application development
- **Homepage:** <https://github.com/foundry-rs/foundry>
- **Repository:** <https://github.com/foundry-rs/foundry>
- **Upstream docs:** <https://getfoundry.sh/>
- **License:** MIT OR Apache-2.0
- **Source archive:** <https://github.com/foundry-rs/foundry.git>
- **Last updated:** 2026-05-08T09:43:00Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- anvil (cli)
- cast (cli)
- anvil (alias)
- cast (alias)

## Dependencies

- libusb

## Build dependencies

- help2man
- rust

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.7.1
- Package-manager updated: 2026-05-08
- Local data: ok
- Upstream repository: https://github.com/foundry-rs/foundry
- info: No cached GitHub release or tag data was available.
## Project history and usage

Foundry is a Rust-written toolkit for Ethereum application development. The package ships the `forge`, `cast`, `anvil`, and `chisel` commands for building and testing Solidity contracts, interacting with EVM chains, running a local node, and using a Solidity REPL.

### Project history

The `foundry-rs/foundry` repository was created in 2021. Its README presents Foundry as a fast, portable, modular Ethereum development toolkit and splits the suite into Forge, Cast, Anvil, and Chisel.

The official docs now organize Foundry around installation with `foundryup`, project setup, dependencies, Forge workflows, Cast chain interaction, Anvil local node usage, Chisel sessions, and `foundry.toml` configuration.

### Adoption history

Foundry became a common smart-contract development package because it moved the Ethereum workflow into fast local CLIs: Solidity tests through Forge, forked-chain testing through Anvil, RPC and wallet tasks through Cast, and repeatable installs through `foundryup`, GitHub Releases, Docker, Homebrew, and source builds.

### How it is used

The README's basic workflow is `forge init`, `forge build`, and `forge test`; common operational workflows include `cast block-number`, `cast balance`, and `anvil --fork-url` for a forked local chain. Configuration is kept in `foundry.toml` with profiles and environment-variable overrides.

### Why package nerds care

Foundry is important in package history because it packaged a complete blockchain developer workstation as native CLIs rather than a JavaScript-only toolchain. It also made release management and version switching part of the package story through `foundryup`, nightly builds, binary attestations, Docker images, and Cargo builds.

### Timeline

- 2021: The public `foundry-rs/foundry` repository was created.
- 2026: GitHub tags included stable v1.7.x releases and GitHub Releases continued to publish nightly builds.
- 2026: The official installation docs described `foundryup` as the installer and version manager and listed precompiled binaries, Docker, and source builds as alternatives.

### Related projects

- Foundry is related to Ethereum, Solidity, EVM-compatible chains, GitHub artifact attestations, Docker images, Cargo/Rust builds, and the earlier smart-contract tooling ecosystem that it complements or replaces in many projects.

### Sources

- <https://api.github.com/repos/foundry-rs/foundry>
- <https://api.github.com/repos/foundry-rs/foundry/releases>
- <https://api.github.com/repos/foundry-rs/foundry/tags>
- <https://getfoundry.sh/>
- <https://getfoundry.sh/config/>
- <https://getfoundry.sh/forge/>
- <https://getfoundry.sh/introduction/installation>
- <https://github.com/foundry-rs/foundry>
- <https://raw.githubusercontent.com/foundry-rs/foundry/master/README.md>


## Security Notes

No matching local secret-handling manifest was found for foundry. Nucleus package metadata is still published here so future coverage has a stable package 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: foundry.toml, ~/.foundry/foundry.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** foundry
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** chisel-tunnel, jboss-forge
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - foundry: normalized package name match | nixpkgs package indexes: pkgs/by-name/fo/foundry/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - foundry - 1.1.1-r0: normalized package name match | Alpine Linux edge package indexes: foundry from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Companion command-line tool for IDE features of GNOME Builder | https://gitlab.gnome.org/GNOME/foundry
- apk - foundry-bash-completion - 1.1.1-r0: normalized package name match | Alpine Linux edge package indexes: foundry-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for foundry | https://gitlab.gnome.org/GNOME/foundry
- apk - foundry-dev - 1.1.1-r0: normalized package name match | Alpine Linux edge package indexes: foundry-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Companion command-line tool for IDE features of GNOME Builder (development files) | https://gitlab.gnome.org/GNOME/foundry
- apk - foundry-doc - 1.1.1-r0: normalized package name match | Alpine Linux edge package indexes: foundry-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Companion command-line tool for IDE features of GNOME Builder (documentation) | https://gitlab.gnome.org/GNOME/foundry
- apk - foundry-lang - 1.1.1-r0: normalized package name match | Alpine Linux edge package indexes: foundry-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package foundry | https://gitlab.gnome.org/GNOME/foundry
- apk - foundry-libs - 1.1.1-r0: normalized package name match | Alpine Linux edge package indexes: foundry-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Companion command-line tool for IDE features of GNOME Builder (libraries) | https://gitlab.gnome.org/GNOME/foundry
- dnf - foundry - 1.1.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: foundry from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | IDE library and command-line companion tool | https://gitlab.gnome.org/GNOME/foundry
- dnf - libfoundry - 1.1.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: libfoundry from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | IDE library and command-line companion tool (shared library) | https://gitlab.gnome.org/GNOME/foundry
- dnf - libfoundry-devel - 1.1.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: libfoundry-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | IDE library and command-line companion tool (development files) | https://gitlab.gnome.org/GNOME/foundry
- dnf - libfoundry-gtk - 1.1.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: libfoundry-gtk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | IDE library and command-line companion tool (GTK integration) | https://gitlab.gnome.org/GNOME/foundry
- dnf - libfoundry-gtk-devel - 1.1.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: libfoundry-gtk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | IDE library and command-line companion tool (development files) | https://gitlab.gnome.org/GNOME/foundry
- pacman - foundry - 1.1.1-1: normalized package name match | Arch Linux sync databases: foundry from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Aims to extract much of what makes GNOME Builder an IDE into a library and companion command-line tool | https://gitlab.gnome.org/GNOME/foundry
- zypper - foundry - 1.1.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: foundry from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | IDE library and command-line companion tool | https://gitlab.gnome.org/GNOME/foundry
- zypper - foundry-devel - 1.1.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: foundry-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | IDE library and command-line companion tool (development files) | https://gitlab.gnome.org/GNOME/foundry
- zypper - libfoundry-1-1 - 1.1.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libfoundry-1-1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | IDE library and command-line companion tool | https://gitlab.gnome.org/GNOME/foundry


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [help2man](https://www.automicvault.com/pkg/brew/help2man/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [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.
- [truffle](https://www.automicvault.com/pkg/brew/truffle/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, ethereum, evm.
- [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.
- [clarinet](https://www.automicvault.com/pkg/brew/clarinet/) - 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.

## Combined YAML source

View the package source record on GitHub. [combined/foundry.yml](https://github.com/automic-vault/db/blob/main/combined/foundry.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
- external package-manager database matches
- cross-ecosystem install command graph
