When users enter "." as the installation directory, the web bundles directory path was not being resolved correctly, causing the bundles to not be copied. This fix ensures the web bundles directory is resolved using the same logic as the main installation directory, resolving relative paths from the original working directory where npx was executed.
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
Development
# Install dependencies
npm install
# Run tests
npm test
# Lint code
npm run lint