Step 02 / 06
Install the plugin and scaffold a site
Hakuto is a Claude Code plugin. You install it once, globally, and can scaffold new sites in any empty folder thereafter.
1Open VS Code and launch Claude
In Visual Studio Code (or your editor of choice), open a new window (
File → New Window) and open or create an empty folder for your site. Then open the integrated terminal and launch Claude Code:claude2Install the plugin and scaffold
Inside Claude, run each of these slash commands. The first two install Hakuto (you only do this once per machine):
/plugin marketplace add teamniteo/hakuto/plugin install hakuto@hakutoAfter the install, Claude will recommend reloading plugins so the new commands become available. Go ahead and do it, then scaffold your site:
/hakuto:initThe scaffold drops a ready-to-go Astro project into the folder and initializes a git repo.
3Start the dev server
In a second terminal (leave Claude running in the first), install bun if you don't have it yet:
curl -fsSL https://bun.sh/install | bashThen install dependencies and start the dev server:
bun installbun run devOpen
localhost:4321to see the placeholder site. Next step, you tell Claude what to build into it.