Since I last talk about BMAD Method (here), about 2 months ago. It has evolved fast. Infact, today (23/02/2206) they have released their newest stable release for version 6. If you can remember, I used version 4.4x in my last article. That's how fast AI industry is moving.
Since then I have used BMAD method successfully in one of production application, and I'm very happy about it.
Since I bought Claude pro subscription recently, I'm going discuss how we can use BMAD method through Claude code (which is the recomended way of using it by its developers).
You can use ClaudeCode, in any terminal (standalone terminal, terminal in a IDE or any other terminal supported way). But since I'm familiar with VSCode, I'm going to use terminal in VSCode to use ClaudeCode.
First thing I would suggest doing in install ClaudeCode extension into VSCode.
Once extension is installed, you can go through onboarding wizard to get it configured. There are several ways you can use ClaudeAI models through ClaudeCode.
Since I have pro subscription, I will use that. Note that using throug API is very costly. When you click on above button, it will link to your subscription.
Now ClaudeCode extention is configured. Let's get started... well not so fast. ClaudeCode actual program is still not installed in your computer (just the VS Extension is installed). You need to install it using PowerShell.
Here is the command for that (runs on powershell)
irm https://claude.ai/install.ps1 | iex
Or you can download the installation from Antropic.
It take little bit time based on your internet speed to install ClaudeCode through powershell, so be patient. Once installed you need to add installation path to the "Path" environment variable for easy access.
Once ClaudeCode is configured, you can launch it through VSCode. There will be a Claude icon on top right hand corner in VSCode window.
Now that we have both installed and cofigure, open a terminal and let's go to the folder where we want to create the app (or where existing app is).
Then install bmad method with npx:
npx bmad-method install
Since you specify the version, it will ask to install the latest stable version:
Installation wizard starts and following screen appear. At the end of that screen it will ask directory to work.
You can accpet the current directory or give folder path to create a new. If it doesn't exists bmad will ask your permission to create it.
I have chosen bmad6test folder.
Then on next screen you need to select modules. BMAD is a platform where you have core framework and you can add modules according to your requirement. For example, if you developing a Game, you can install "BMad Game Dev Studio" module.
I have chosen BMad Agile-AI Driven Development module.
You can choose to install custom modules, but that for advanced users.
Then the most important decision, you will require to choose which AI tool you will be using BMAD method with.
As you can see Claude Code and Cursor is the preferred ones. But there are long list you can choose from including previously shown Github Copilot.
Next it will ask what should it call you (a name for your self).
Next it will ask, preferred language and output language, where output document should be saved and ect.
Module installation can be done express way or customized approach, but I choose express way and use all defaults (which suites me, but if you prefer you can test with custom approach).
That's it.
After BMAD installation, lets switch to the working directory and start VSCode.
Once you inside VSCode open ClaudeCode.
In the ClaudeCode prompt, you can start typing bmad commands and it will show what is available.
Good place to start is bmad-help method.
No comments:
Post a Comment