# Install solana with Homebrew

Web-Scale Blockchain for decentralized apps and marketplaces. Version 4.1.1 via Homebrew; verified 2026-07-03.

## Install

```sh
sudo av install brew:solana
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install solana
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:solana
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/solana>
- **Version:** 4.1.1
- **Source summary:** Web-Scale Blockchain for decentralized apps and marketplaces
- **Homepage:** <https://www.anza.xyz/>
- **Repository:** <https://github.com/anza-xyz/agave>
- **Upstream docs:** <https://docs.anza.xyz/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/anza-xyz/agave/archive/refs/tags/v4.1.1.tar.gz>
- **Last updated:** 2026-07-03T00:09:02Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- agave-ledger-tool (cli)
- agave-validator (cli)
- agave-watchtower (cli)
- solana (cli)
- solana-keygen (cli)
- solana-stake-accounts (cli)
- solana-test-validator (cli)
- solana-tokens (cli)
- agave-ledger-tool (alias)
- agave-validator (alias)
- agave-watchtower (alias)
- solana (alias)
- solana-keygen (alias)
- solana-stake-accounts (alias)
- solana-test-validator (alias)
- solana-tokens (alias)

## Dependencies

- openssl@3
- rocksdb

## Build dependencies

- llvm
- pkgconf
- protobuf
- rust

## Uses from macOS

- bzip2

## 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: 4.1.1
- Package-manager updated: 2026-07-03
- Local data: ok
- Upstream repository: https://github.com/anza-xyz/agave
- Upstream latest detected: v4.1.1 (current)
## Project history and usage

The Homebrew solana package installs the Solana command-line and validator toolchain, now sourced from Anza's Agave implementation, for developers and operators working with Solana clusters.

### Project history

The original solana-labs/solana repository was created in February 2018 and is now archived. Its README explicitly redirects readers to Agave, the Solana validator implementation from Anza.

The Anza Agave repository was created in January 2024 as a fork of solana-labs/solana. Its README documents building the Rust validator implementation, running local testnets, accessing devnet, benchmarking, and following the release process.

The package continues to expose familiar Solana command names such as solana, solana-keygen, solana-test-validator, and validator/ledger tools, even as the upstream implementation source moved to Agave.

### Adoption history

The CLI became a central interface for Solana because the official Anza CLI documentation says it is the first place the Anza core team deploys new functionality and provides direct, flexible, secure account access.

Official installation docs support multiple routes: the Solana install tool, prebuilt binaries, source builds, and Homebrew. The Homebrew section notes that the formula is updated after each solana release, though it may lag the desired version.

### How it is used

Developers use the CLI to create and manage wallets, choose clusters, transfer tokens, deploy programs, run local test validators, and inspect or operate validator-related state.

Package users commonly care about the config and keypair paths because the CLI reads ~/.config/solana/cli/config.yml for cluster and client defaults and commonly uses ~/.config/solana/id.json as a filesystem keypair.

### Why package nerds care

For package managers, solana is a large Rust toolchain package with many operational binaries, release-channel expectations, and tight coupling to upstream network compatibility. It is not just a single wallet CLI.

The Solana-to-Agave upstream transition is also package-nerd-interesting: downstream formula names, executable names, docs, and user config paths preserve the Solana CLI identity while the maintained source repository and validator implementation live under Anza.

### Timeline

- 2018-02: solana-labs/solana repository is created.
- 2024-01: anza-xyz/agave repository is created as a fork of solana-labs/solana.
- 2025: solana-labs/solana README marks the repository as a public archive and points to Agave.
- 2026: Anza docs continue to document the Solana CLI install flow, including Homebrew.

### Related projects

- Agave: Anza's maintained Solana validator implementation and current source for the Homebrew package.
- solana-labs/solana: archived predecessor repository.
- Solana CLI Tool Suite: commands used for wallets, clusters, staking, programs, and local validators.
- Anchor and Solana Program Library: neighboring developer tooling commonly used with Solana CLI workflows.

### Sources

- current_curation.config-file-location
- current_curation.credentials-file-location
- <https://api.github.com/repos/anza-xyz/agave>
- <https://docs.anza.xyz/cli/>
- <https://docs.anza.xyz/cli/install>
- <https://raw.githubusercontent.com/anza-xyz/agave/master/README.md>
- <https://raw.githubusercontent.com/solana-labs/solana/master/README.md>
- <https://solana.com/docs/intro/installation>
- source_facts.executables
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for solana. 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: ~/.config/solana/cli/config.yml

## Credential files

- Unix: ~/.config/solana/id.json
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** solana
- **Version Scheme:** 1
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **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.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [rocksdb](https://www.automicvault.com/pkg/brew/rocksdb/) - Runtime dependency declared by Homebrew.
- [llvm](https://www.automicvault.com/pkg/brew/llvm/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [protobuf](https://www.automicvault.com/pkg/brew/protobuf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [sui](https://www.automicvault.com/pkg/brew/sui/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, web3.
- [anchor](https://www.automicvault.com/pkg/brew/anchor/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [chainhook](https://www.automicvault.com/pkg/brew/chainhook/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [clarinet](https://www.automicvault.com/pkg/brew/clarinet/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [ignite](https://www.automicvault.com/pkg/brew/ignite/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [stellar-cli](https://www.automicvault.com/pkg/brew/stellar-cli/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [tendermint](https://www.automicvault.com/pkg/brew/tendermint/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [aiken](https://www.automicvault.com/pkg/brew/aiken/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [cppcms](https://www.automicvault.com/pkg/brew/cppcms/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, openssl, openssl-3.

## Combined YAML source

View the package source record on GitHub. [combined/solana.yml](https://github.com/automic-vault/db/blob/main/combined/solana.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
