Skip to content

Quickstart

Run a Nimbus docs site on your machine in five minutes.

AI-generated · awaiting reviewUpdated
For humans

By the end you’ll have a docs site running locally, with a page you’ve edited.

Prerequisites

  • Node 22.12 or later (node --version)

Steps

  1. Create the site

    npm create @cloudflare/nimbus-docs@latest -- my-docs --yes
  2. Start the dev server

    cd my-docs
    npm run dev
  3. Edit the home page

    Open src/content/docs/index.mdx, change the title, and save.

You should see

 astro  v<version> ready in <n> ms
┃ Local    http://localhost:4321/
┃ Network  use --host to expose

Open http://localhost:4321/: your site, with your new title and a sidebar. The scaffolder wrote the layouts, components and styles into my-docs/, and they’re yours to change.

Search reads an index the build writes, so it answers once you run npm run build, then npm run preview.

Next step

Pages and routing: add your first real page.

Also: Deploy to Cloudflare · Project structure

Type to search…

↑↓ navigate↵ selectEsc close