Requirements
By use case
Read-only commands (Node.js only)
These commands work with just Node.js installed:
bake loginโ local keypair managementbake useโ switch clustersbake whoamiโ show active wallet(s) and clusterbake statsโ program activity statsbake logsโ view program logsbake decodeโ decode transactions/accounts
Requirements:
- Node.js โฅ 18
- Network access to Cookie Chain RPC
Build & deploy commands
These commands require the full Solana/Anchor toolchain:
bake initโ scaffold new Anchor projectbake deployโ build, deploy, and register on-chainbake rollbackโ rebuild and redeploy a previous entrybake prove --rebuildโ full reproducibility proof
Requirements:
- Node.js โฅ 18
- Rust (via rustup)
- Solana CLI (Agave)
- Anchor CLI
- Git
Audit commands
bake auditโ static analysis via Radarbake deploy --require-auditโ deploy gated on clean audit
Requirements:
- All build requirements above
- Radar (
curl -L https://raw.githubusercontent.com/auditware/radar/main/install-radar.sh | bash) - Docker (running)
Fork commands
bake forkโ clone a program into local validator
Requirements:
- Node.js โฅ 18
- Solana CLI
Windows-specific
On Windows, bake auto-relays Anchor/Solana commands through WSL. You need:
- Windows 10/11 with WSL 2 enabled
- Ubuntu distribution in WSL
- Rust, Solana CLI, and Anchor installed inside WSL (not on Windows)
See Windows & WSL Setup for step-by-step instructions.
Checking your environment
bash
bake doctor
This runs a comprehensive check of your environment and reports pass/warn/fail for each requirement.