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.
// Step 1 · Open 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:
claude // Step 2 · Install the plugin and scaffold
Inside Claude, run each of these slash commands. The first two install Hakuto (you only do this once per machine); the third scaffolds your site:
/plugin marketplace add teamniteo/hakuto /plugin install hakuto@hakuto After the install, Claude will recommend reloading plugins so the new commands become available. Go ahead and do it, then run:
/hakuto:init The scaffold drops a ready-to-go Astro project into the folder and initializes a git repo.
// Step 3 · Start 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 | bash Then install dependencies and start the dev server:
bun install bun run dev Open localhost:4321 to see the placeholder site. Next step, you tell Claude what to build into it.