The BMad Method CLI provides commands for installing, managing, and monitoring your BMad installation. All commands are available through the bmad or bmad-method executables.
Installation
Install the BMad Method CLI globally or use it directly with npx:
npm install -g bmad-method
# or
npx bmad-method <command>
Global Options
All commands support the following global options:
Display help information for the command
Display the current version of bmad-method
Commands
install
Install BMAD Core agents and tools into your project.
Options
Enable debug output for manifest generation. Sets BMAD_DEBUG_MANIFEST=true for detailed logging during installation.
Installation directory path. Defaults to the current working directory.Example:bmad install --directory /path/to/project
Comma-separated list of module IDs to install. Available modules include:
bmm - BMad Method Agile-AI Driven Development (default)
bmb - Builder module
tea - Test Architect
cis - Creative Intelligence
gds - Game Dev Studio
Example:bmad install --modules bmm,bmb
Comma-separated list of tool/IDE IDs to configure. Use โnoneโ to skip tool configuration.Supported tools:
claude-code - Claude Code IDE
cursor - Cursor IDE
windsurf - Windsurf IDE
none - Skip IDE integration
Example:bmad install --tools claude-code,cursor
bmad install --tools none
Comma-separated list of paths to custom modules, agents, or workflows to include in the installation.Example:bmad install --custom-content ./custom-agents,./my-workflows
Action type for existing installations. Options:
install - Fresh installation
update - Full update with prompts
quick-update - Update modules preserving existing settings
compile-agents - Recompile agents with customizations
Example:bmad install --action quick-update
Name for agents to use when addressing you. Defaults to system username.Example:bmad install --user-name "Alex"
Language for agent communication. Defaults to English.Example:bmad install --communication-language "Spanish"
--document-output-language
Language for document output. Defaults to English.Example:bmad install --document-output-language "French"
Output folder path relative to project root. Defaults to _bmad-output.Example:bmad install --output-folder "docs/bmad"
Accept all defaults and skip prompts where possible. Useful for automated installations.Example:bmad install -y --modules bmm --tools claude-code
Examples
Interactive installation (recommended for first-time users):
The installer will guide you through:
- Module selection
- IDE/tool configuration
- User preferences (name, languages)
- Output folder locations
Non-interactive installation with defaults:
bmad install -y --modules bmm --tools claude-code
Update existing installation:
bmad install --action quick-update
Debug installation issues:
Expected Output
Successful installation:
โ Installation directory: /path/to/project
โ Selected modules: bmm
โ Installing BMad Method Agile-AI Driven Development
โ Configured IDE: claude-code
โ Generated 47 command files in .claude/commands/
โ Installation complete!
Quick update:
โ Quick update complete!
โน Updated 1 modules with preserved settings (bmm)
Display BMAD installation status and module versions.
Options
This command has no additional options.
Examples
Check installation status:
Expected Output
When BMAD is installed:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ BMAD Installation Status โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Version: 6.0.4 โ
โ Directory: /path/to/project/_bmad โ
โ Installed: 2026-03-04 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Modules: โ
โ โข bmm (v6.0.4) - BMad Method โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ IDE Integrations: โ
โ โข Claude Code (.claude/commands/) โ
โ โข 47 commands available โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
When BMAD is not installed:
โ No BMAD installation found in the current directory.
Expected location: /path/to/project/_bmad
Run "bmad install" to set up a new installation.
uninstall
Remove BMAD installation from the current project.
The uninstall command preserves user artifacts (output folder contents) by default. You can explicitly choose to remove them during the interactive flow.
Options
Remove all BMAD components without prompting. User artifacts are always preserved in non-interactive mode.Example:
Project directory to uninstall from. Defaults to current directory in non-interactive mode, or prompts in interactive mode.Example:bmad uninstall --directory /path/to/project
Examples
Interactive uninstall (recommended):
The uninstaller will:
- Show current installation details
- Let you select which components to remove:
- BMAD Modules & data (
_bmad/)
- IDE integrations (command files)
- User artifacts (output folder) - WARNING: Contains your work
- Confirm before proceeding
Non-interactive uninstall:
Removes:
- BMAD modules and data
- IDE integrations
- Preserves user artifacts
Uninstall from specific directory:
bmad uninstall --directory /path/to/old-project
Expected Output
Interactive uninstall:
โญ BMAD Uninstall โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Current Installation โ
โ Version: 6.0.4 โ
โ Modules: bmm โ
โ IDE integrations: claude-code โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
? Select components to remove:
โ BMAD Modules & data (_bmad/)
โ IDE integrations
โ User artifacts (_bmad-output/)
โญ !! DESTRUCTIVE ACTION !! โโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ This action is IRREVERSIBLE! โ
โ ๐ IDE configurations and modules will need โ
โ to be reinstalled. โ
โ ๐ User artifacts are preserved unless โ
โ explicitly selected. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
? Proceed with uninstall? (y/N)
โ Removed IDE integrations (claude-code)
โ Modules & data removed
โญ Summary โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ IDE integrations cleaned โ
โ Modules & data removed โ
โ User artifacts preserved in _bmad-output/ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ To reinstall, run: npx bmad-method install
Non-interactive uninstall:
โ Removed IDE integrations (claude-code)
โ Modules & data removed
โญ Summary โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ IDE integrations cleaned โ
โ Modules & data removed โ
โ User artifacts preserved in _bmad-output/ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Version Management
Checking for Updates
The CLI automatically checks for updates on startup and displays a notification if a newer version is available:
โญ Update Available โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ You are using version 6.0.3 but 6.0.4 is โ
โ available. โ
โ โ
โ To update, exit and first run: โ
โ npm cache clean --force && โ
โ npx bmad-method@latest install โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Beta Versions
To install beta versions, use the beta tag:
npx bmad-method@beta install
Exit Codes
All commands use standard exit codes:
0 - Success
1 - Error or failure
Environment Variables
Enable debug output for manifest generation. Set automatically by the --debug flag.Example:export BMAD_DEBUG_MANIFEST=true
bmad install
Enable general debug output including error stack traces.Example:export BMAD_DEBUG=true
bmad status
Troubleshooting
Installation fails with permission errors
Ensure you have write permissions to the target directory:
bmad install --directory ~/my-project
Commands not found after installation
Restart your IDE or reload the window. Most IDEs cache command files and require a refresh.
Update not working
Clear npm cache and reinstall:
npm cache clean --force
npx bmad-method@latest install
Debug installation issues
Run with debug flag to see detailed output:
For status command errors:
export BMAD_DEBUG=true
bmad status