Scaffolding the Project
This is a member-only chapter. Log in with your Signal Over Noise membership email to continue.
Log in to readModule 2 · Section 2 of 8
Scaffolding the Project
Open your terminal in the directory where you want the project to live, then run:
npm create astro@latest my-site
The installer asks a few questions:
- Template: Choose “Empty” — you don’t need the starter content, and a clean slate is easier to understand.
- TypeScript: Yes. It adds a small amount of upfront ceremony but catches errors before they become build failures.
- Install dependencies: Yes.
Once it’s done, move into the project directory:
cd my-site
npm run dev
Open your browser at http://localhost:4321. You’ll see a nearly blank page — that’s correct. An empty template is genuinely empty.