Skip to main content
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:

Global Options

All commands support the following global options:
flag
Display help information for the command
flag
Display the current version of bmad-method

Commands

install

Install BMAD Core agents and tools into your project.

Options

flag
Enable debug output for manifest generation. Sets BMAD_DEBUG_MANIFEST=true for detailed logging during installation.
string
Installation directory path. Defaults to the current working directory.Example:
string
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:
string
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:
string
Comma-separated list of paths to custom modules, agents, or workflows to include in the installation.Example:
string
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:
string
Name for agents to use when addressing you. Defaults to system username.Example:
string
Language for agent communication. Defaults to English.Example:
string
Language for document output. Defaults to English.Example:
string
Output folder path relative to project root. Defaults to _bmad-output.Example:
flag
Accept all defaults and skip prompts where possible. Useful for automated installations.Example:

Examples

Interactive installation (recommended for first-time users):
The installer will guide you through:
  1. Module selection
  2. IDE/tool configuration
  3. User preferences (name, languages)
  4. Output folder locations
Non-interactive installation with defaults:
Update existing installation:
Debug installation issues:

Expected Output

Successful installation:
Quick update:

status

Display BMAD installation status and module versions.

Options

This command has no additional options.

Examples

Check installation status:

Expected Output

When BMAD is installed:
When BMAD is not installed:

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

flag
Remove all BMAD components without prompting. User artifacts are always preserved in non-interactive mode.Example:
string
Project directory to uninstall from. Defaults to current directory in non-interactive mode, or prompts in interactive mode.Example:

Examples

Interactive uninstall (recommended):
The uninstaller will:
  1. Show current installation details
  2. Let you select which components to remove:
    • BMAD Modules & data (_bmad/)
    • IDE integrations (command files)
    • User artifacts (output folder) - WARNING: Contains your work
  3. Confirm before proceeding
Non-interactive uninstall:
Removes:
  • BMAD modules and data
  • IDE integrations
  • Preserves user artifacts
Uninstall from specific directory:

Expected Output

Interactive uninstall:
Non-interactive uninstall:

Version Management

Checking for Updates

The CLI automatically checks for updates on startup and displays a notification if a newer version is available:

Beta Versions

To install beta versions, use the beta tag:

Exit Codes

All commands use standard exit codes:
  • 0 - Success
  • 1 - Error or failure

Environment Variables

boolean
Enable debug output for manifest generation. Set automatically by the --debug flag.Example:
boolean
Enable general debug output including error stack traces.Example:

Troubleshooting

Installation fails with permission errors

Ensure you have write permissions to the target directory:

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:

Debug installation issues

Run with debug flag to see detailed output:
For status command errors: