Mucho CLI
mucho is the Solana Foundation's developer CLI that wraps common setup, scaffold, build, and deploy flows beyond raw solana and anchor commands.
Search across all documentation pages
mucho is the Solana Foundation's developer CLI that wraps common setup, scaffold, build, and deploy flows beyond raw solana and anchor commands.
Quick-reference recipe card - copy-paste ready.
cargo install mucho-cli
mucho --version
mucho init my-project
mucho build
mucho testWhen to reach for this:
# Install (Rust toolchain required)
cargo install mucho-cli --locked
mucho --help
mucho init hello-solana
cd hello-solana
# Ensure pinned Anchor/Agave still apply underneath
avm use 0.32.1
solana --version
mucho build
mucho testWhat this demonstrates:
mucho init creates a structured workspace similar to community scaffolds.mucho build delegates to Anchor/cargo build-sbf with sane defaults.| Area | Typical mucho command |
|---|---|
| Scaffold | init, new |
| Build | build |
| Test | test, localnet |
| Deploy | deploy (cluster-aware) |
| Config | doctor / env checks |
# Validate environment before a workshop
mucho doctor 2>/dev/null || mucho --help
solana --version && anchor --versionagave-install and avm. Fix: verify versions after init.cargo install mucho-cli --force on locked tag.mucho build. Fix: install in CI or call underlying anchor build directly.| Alternative | Use When | Don't Use When |
|---|---|---|
Raw anchor CLI | Maximum transparency | Workshop speed |
create-solana-dapp | Next.js-centric products | Foundation template alignment |
mucho | Foundation learning path | Highly custom monorepo policies |
| Manual scripts | Full CI control | Solo quick experiments |
No - it wraps and orchestrates Agave/Solana and Anchor binaries.
Typically cargo install mucho-cli --locked with Rust 1.91.1 available.
Deploy commands target configured clusters - apply the same mainnet safeguards as anchor deploy.
No - production CI often calls anchor build and solana program deploy directly.
Separate tools - Surfpool handles mainnet-fork simulation; mucho focuses on project lifecycle.
Run mucho init --help for current template list - evolves with Foundation releases.
Best for new projects; existing Anchor repos may adopt individual scripts instead of full migration.
No - pair with Editor & rust-analyzer Setup.
cargo install mucho-cli --locked --force pulls the latest crates.io release.
Mucho should invoke the anchor binary active on PATH after avm use 0.32.1.
Stack versions: This page was written for Agave 4.1.1, Solana CLI 3.0.10, Anchor 0.32.1, anchor-lang 0.32.1, Rust 1.91.1, @solana/kit 7.0.0, Surfpool 0.12.0, and LiteSVM 0.6.x.
Reviewed by Chris St. John·Last updated Jul 16, 2026