Files
BMAD-METHOD/tools/installer
Brian Madison 29e7bbf4c5 feat: add early v4 detection for improved update flow
- Now detects existing v4 installations immediately after directory prompt
- Offers update option upfront for existing v4 installations
- If user declines update, continues with normal installation flow
- Added 'update' install type handling in installer
- Improves user experience by streamlining the update process

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 12:38:06 -05:00
..
2025-06-14 18:11:16 -05:00
2025-06-19 03:55:00 +00:00

BMAD Method Installer

This directory contains the BMAD Method installer implementation.

Structure

installer/
├── bin/              # CLI entry points
│   └── bmad.js      # Main CLI executable
├── lib/             # Core implementation
│   ├── installer.js # Main installation logic
│   ├── updater.js   # Update management
│   ├── config-loader.js # YAML config parsing
│   ├── file-manager.js  # File operations
│   ├── ide-setup.js     # IDE-specific setup
│   └── prompts.js       # Interactive CLI prompts
├── config/          # Configuration files
│   └── install.config.yml # Installation profiles
├── templates/       # IDE template files
│   ├── cursor-rules.md     # Cursor template
│   ├── claude-commands.md  # Claude Code template
│   └── windsurf-rules.md   # Windsurf template
└── package.json     # NPM package configuration

Installation Profiles

  • minimal: IDE agents only (best for beginners)
  • core: IDE + Web agents
  • teams: Full team workflows
  • developer: Everything including creation tools

Usage

# Interactive installation
npx bmad-method install

# Direct profile installation
npx bmad-method install --profile=minimal

# Update existing installation
npx bmad-method update
```text

## Development

```bash
# Install dependencies
npm install

# Run tests
npm test

# Lint code
npm run lint