Home/Docs/Get Started/Install

Install bake on macOS, Linux, or Windows.

Install

Quick install

bash
npm install -g bakeacookie

The package is published as bakeacookie (the shorter names were already taken), but the command you run is just:

bash
bake --help

Verify installation

bash
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:

bash
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:

CommandRequirements
bake login, bake use, bake whoamiNode.js only
bake agent initNode.js only
bake stats, bake logs, bake decode, bake mcpNode.js + network
bake init, bake deploy, bake rollback, bake sessionNode.js + Rust + Solana CLI + Anchor
bake auditAll above + Radar + Docker
bake forkNode.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

bash
npm uninstall -g bakeacookie
Sourced from local MDX in docs/content/docs