macOS
brew install solanalocal Homebrew formula metadata
安装
brew install solanalocal Homebrew formula metadata
概览
Web-Scale Blockchain for decentralized apps and marketplaces
历史
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.
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.
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.
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.
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.
安全态势
没有找到 solana 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.config/solana/cli/config.ymlCredential-bearing paths to review before unattended agent runs.
~/.config/solana/id.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
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 | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/anza-xyz/agave
安装元数据
| 软件包键 | brew:solana |
|---|---|
| 版本 | 4.1.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/solana |
| 主页 | https://www.anza.xyz/ |
| 仓库 | https://github.com/anza-xyz/agave |
| 上游文档 | https://docs.anza.xyz/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/anza-xyz/agave/archive/refs/tags/v4.1.2.tar.gz |
| 最后更新 | 2026-07-13T16:52:22Z |
| Pulse | updated |
| 依赖 | openssl@3, rocksdb |
| 构建依赖 | llvm, pkgconf, protobuf, rust |
| macOS 提供的库 | bzip2 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.