id = "solana" name = "Solana CLI" homepage = "https://www.anza.xyz/" description = "Web-Scale Blockchain for decentralized apps and marketplaces." executables = ["solana", "solana-keygen"] [dotfiles] # https://github.com/solana-foundation/developer-content/blob/main/docs/intro/installation.md # shows the CLI config at ~/.config/solana/cli/config.yml and the default # wallet keypair at ~/.config/solana/id.json. paths = ["[configHome]/solana/cli/config.yml"] secret = ["[configHome]/solana/id.json"] [commands] format = 1 label = "Set Solana cluster" description = "Point the Solana CLI at a cluster with solana config set --url. Keypair and other config keys are left out." quality = "ai-draft" parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = false, short_bundles = false } [[commands.source]] id = "docs" kind = "manual" url = "https://raw.githubusercontent.com/solana-foundation/developer-content/main/docs/intro/installation.md" revision = "main 2026-10-27" evidence = """solana config get solana config set --url mainnet-beta solana config set --url devnet solana config set --url localhost solana config set --url testnet""" [[commands.field]] id = "subcommand" label = "Subcommand" fixed = ["config", "set"] sources = ["docs"] [[commands.field]] id = "url" label = "Cluster URL" description = "A moniker or a full RPC URL." type = "string" option = ["--url"] suggestions = [{ value = "mainnet-beta", label = "Mainnet Beta" }, { value = "devnet", label = "Devnet" }, { value = "testnet", label = "Testnet" }, { value = "localhost", label = "Localhost" }] sources = ["docs"] [[commands.task]] id = "set-url" label = "Set cluster" fields = ["subcommand", "url"] required = ["url"] [[commands.group]] id = "basic" label = "Basic" fields = ["subcommand", "url"]