solana

cli

args / tags /

solana cli args for agave and firedancer (soon)

find all solana cli arguments for the agave client in one place, with firedancer support coming soon. our searchable database makes it easy to discover, filter, and understand every command-line option. whether you're a developer, validator, or enthusiast, quickly access the details you need to optimize your solana setup.

visit solana cli on github

args by newest version

args by newest version are arguments sorted based on the latest client version...

see all args
  • accounts db ancient storage ideal size
    The smallest size of ideal ancient storage.
  • accounts db hash calculation pubkey bins
    The number of pubkey bins used for accounts hash calculation.
  • accounts db max ancient storages
    The number of ancient storages the ancient slot combining should converge to.
  • accounts db snapshots use experimental accumulator hash
    Snapshots use the experimental accumulator hash
  • accounts db verify experimental accumulator hash
    Verifies the experimental accumulator hash
  • rayon global threads
    Number of threads to use for the global rayon thread pool
  • rocksdb compaction threads
    Number of threads to use for rocksdb (Blockstore) compactions
  • rocksdb flush threads
    Number of threads to use for rocksdb (Blockstore) memtable flushes
  • tpu max connections per peer
    Controls the max concurrent connections per IpAddr.
  • tpu max fwd staked connections
    Controls the max concurrent connections for TPU-forward from staked nodes.

most stable args

most stable args are arguments that have no deprecated or removed entries...

see all stable args
  • account
    Load an account from the provided JSON file (see `solana account --help` on how to dump an account to file). Files are searched for relatively to CWD and testsfixtures. If ADDRESS is omitted via the `-` placeholder, the one in the file will be used. If the ledger already exists then this parameter is silently ignored"
  • account dir
    Load all the accounts from the JSON files found in the specified DIRECTORY (see also the `--account` flag). If the ledger already exists then this parameter is silently ignored"
  • account index exclude key
    When account indexes are enabled, exclude this key from the index.
  • account index include key
    When account indexes are enabled, only include specific keys in the index. This overrides --account-index-exclude-key."
  • account indexes
    Enable an accounts index, indexed by the selected account field
  • account paths
    Comma separated persistent accounts location. May be specified multiple times. [default: <LEDGER>accounts]"
  • account shrink path
    Path to accounts shrink path which can hold a compacted account set.
  • accounts db access storages method
    Access account storages using this method
  • accounts db cache limit mb
    How large the write cache for account data can become. If this is exceeded, the cache is flushed more aggressively."
  • accounts db clean threads
    Number of threads to use for cleaning AccountsDb

deprecated args

arguments that were introduced but later marked as deprecated or...

see all deprecated args
  • accounts db ancient append vecs
    AppendVecs that are older than (slots_per_epoch - SLOT-OFFSET) are squashed together."
  • accounts db ancient storage ideal size
    The smallest size of ideal ancient storage.
  • accounts db caching enabled
    no description available
  • accounts db create ancient storage packed
    Create ancient storages in one shot instead of appending.
  • accounts db experimental accumulator hash
    Enables the experimental accumulator hash
  • accounts db hash calculation pubkey bins
    The number of pubkey bins used for accounts hash calculation.
  • accounts db index hashing
    Enables the use of the index in hash calculation in AccountsHashVerifierAccounts Background Service."
  • accounts db max ancient storages
    The number of ancient storages the ancient slot combining should converge to.
  • accounts db read cache limit mb
    How large the read cache for account data can become, in mebibytes
  • accounts db scan filter for shrinking
    Debug option to use different type of filtering for accounts index scan in shrinking. "all" will scan both in-memory and on-disk accounts index, which is the default. "only-abnormal" will scan in-memory accounts index only for abnormal entries and skip scanning on-disk accounts index by assuming that on-disk accounts index contains only normal accounts index entry. "only-abnormal-with-verify" is similar to "only-abnormal", which will scan in-memory index for abnormal entries, but will also verify that on-disk account entries are indeed normal."

reactivated args

arguments that were previously deprecated or removed but later reinstated...

see all reactivated args
  • accounts db access storages method
    Access account storages using this method
  • block production method
    BlockProductionMethod::cli_message()
  • block verification method
    BlockVerificationMethod::cli_message()
  • skip poh verify
    Skip ledger verification at validator bootup.

hidden cli args

hidden cli args are arguments that don't appear in the standard --help output but...

see all hidden args
  • accounts db ancient append vecs
    AppendVecs that are older than (slots_per_epoch - SLOT-OFFSET) are squashed together."
  • accounts db ancient storage ideal size
    The smallest size of ideal ancient storage.
  • accounts db create ancient storage packed
    Create ancient storages in one shot instead of appending.
  • accounts db experimental accumulator hash
    Enables the experimental accumulator hash
  • accounts db hash calculation pubkey bins
    The number of pubkey bins used for accounts hash calculation.
  • accounts db max ancient storages
    The number of ancient storages the ancient slot combining should converge to.
  • accounts db read cache limit mb
    How large the read cache for account data can become, in mebibytes
  • accounts db scan filter for shrinking
    Debug option to use different type of filtering for accounts index scan in shrinking. "all" will scan both in-memory and on-disk accounts index, which is the default. "only-abnormal" will scan in-memory accounts index only for abnormal entries and skip scanning on-disk accounts index by assuming that on-disk accounts index contains only normal accounts index entry. "only-abnormal-with-verify" is similar to "only-abnormal", which will scan in-memory index for abnormal entries, but will also verify that on-disk account entries are indeed normal."
  • accounts db snapshots use experimental accumulator hash
    Snapshots use the experimental accumulator hash
  • accounts db squash storages method
    Squash multiple account storage files together using this method
  • on x /
  • github /
  • web /
  • [email protected]
© 2025

solana

cli

press esc or click anywhere to close