Install
Quick install
npm install -g bakeacookie
The package is published as bakeacookie (the shorter names were already taken), but the command you run is just:
bake --help
Verify installation
bake --version bake doctor
bake doctor runs a full environment health check โ Node.js, git, WSL (on Windows), wallet, cluster, balance, and project detection.
Windows users
bake needs a Solana/Anchor toolchain available via WSL for build/deploy commands. Native Windows toolchain does not work โ Anchor/Solana CLI binaries are Linux-only.
bake auto-detects Windows and transparently relays commands through WSL. After install, run:
bake doctor
This will check your WSL setup and report any issues. See Windows & WSL Setup for detailed instructions.
Requirements by use case
Not every command needs the full toolchain:
| Command | Requirements |
|---|---|
bake login, bake use, bake whoami | Node.js only |
bake agent init | Node.js only |
bake stats, bake logs, bake decode, bake mcp | Node.js + network |
bake init, bake deploy, bake rollback, bake session | Node.js + Rust + Solana CLI + Anchor |
bake audit | All above + Radar + Docker |
bake fork | Node.js + Solana CLI |
Building an AI agent? Scaffold your workspace with bake agent init (see the AI Agents Guide).
Practicing deploys locally? Use disposable sandboxes with bake session (see the Sessions Guide).
See Requirements for the full breakdown.
Uninstall
npm uninstall -g bakeacookie