Installation Guide
Type: Installation Guide (Technical)
Audience: Engineers and technical users
Time: 20–45 minutes
Goal: Install Node.js, Git, and an AI IDE via command line and get BMAD running
Quick checklist (commands to run)
Section titled “Quick checklist (commands to run)”Run these to verify and install if missing:
node --versiongit --versionnpm --versionIf any command is missing, follow the sections below.
Install Node.js (v20+)
Section titled “Install Node.js (v20+)”macOS (Homebrew):
brew install nodeWindows (MSI installer recommended for simplicity) or use package manager (winget):
# winget examplewinget install OpenJS.NodeJS.LTSVerify:
node --versionnpm --versionInstall Git
Section titled “Install Git”macOS:
git --version || xcode-select --installWindows (recommended installer):
Download from https://git-scm.com and install with default settings but ensure “Add to PATH” is selected.
Configure identity (required for commits):
git config --global user.name "Your Name"git config --global user.email "you@example.com"Install an AI IDE (CLI-first)
Section titled “Install an AI IDE (CLI-first)”Preferred: Claude Code (CLI)
Requires Node/npm installed:
npm install -g @anthropic-ai/claude-codeVerify and launch in your project folder:
claude --versioncd /path/to/projectclaudeAlternative: VS Code with GitHub Copilot — install code CLI and the Copilot extension. For automation, use code --install-extension GitHub.copilot.
Create project and install BMAD (command-line)
Section titled “Create project and install BMAD (command-line)”mkdir -p ~/projects/bmad-practicecd ~/projects/bmad-practicegit init
# Interactive installer (recommended first-run)npx bmad-method install
# Or one-line install for Claude Codenpx bmad-method install --tools claude-code --yesWhat to expect: _bmad/, _bmad-output/, and optional .claude/ skills folders created. The installer writes config and may prompt for your name and language.
Post-install (technical notes)
Section titled “Post-install (technical notes)”- If
npxfails with permissions, update npm or run with--yesflag as above. - On Windows, run PowerShell as Administrator for global
npm install -goperations. - For CI or reproducible installs, use the one-line
npxcommand in scripts.
Troubleshooting
Section titled “Troubleshooting”- PATH issues: reopen terminal or restart the machine after installer updates PATH on Windows.
- Permission errors: use administrator privileges for global installs or configure npm to use a user directory.
You’re ready to open the project in claude or code and start running BMAD agents.