Automic VaultAutomic Vault

brew

使用 Homebrew 安装 solana

查看 solana 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install solana

local Homebrew formula metadata

概览

软件包摘要

Web-Scale Blockchain for decentralized apps and marketplaces

命令和别名

  • agave-ledger-tool
  • agave-validator
  • agave-watchtower
  • solana
  • solana-keygen
  • solana-stake-accounts
  • solana-test-validator
  • solana-tokens

历史

项目历史与用法

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.

时间线

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

安全态势

尚未找到受保护工具覆盖

没有找到 solana 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
~/.config/solana/cli/config.yml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/solana/id.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
agave-ledger-toolcli全局可执行文件
agave-validatorcli全局可执行文件
agave-watchtowercli全局可执行文件
solanacli全局可执行文件
solana-keygencli全局可执行文件
solana-stake-accountscli全局可执行文件
solana-test-validatorcli全局可执行文件
solana-tokenscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本4.1.2
管理器更新时间2026-07-13
本地数据OK
上游当前
检测到的最新版本v4.1.2

https://github.com/anza-xyz/agave

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namesolana
Version Scheme1
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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