Reference: CLI & Scripts
Need to jog your memory on which command fires up Turbopack or redeploys rss-fetch? Bookmark this page.
npm scripts (web)
// web/package.json
{
"scripts": {
"dev": "next dev --turbopack",
"build": "next build --turbopack",
"start": "next start",
"lint": "eslint"
}
}
npm run dev— Boots the HUD with Turbopack. Streams server components fast enough to feel blazingly quick.npm run build— Runs linting + Rollup bundling; fails CI if anything’s off.npm run start— Serves the built assets locally (great for staging repros).npm run lint— ESLint with the Next.js config.
Astro docs scripts
cd astro-book && npm install— one-time bootstrapping.npm run dev— Local docs with smooth scroll + theming.npm run build— Generates static HTML inastro-book/dist/for Vercel deployment.
Supabase CLI hits
supabase start— Spins up Postgres + Auth locally.supabase db reset— Drops/recreates the DB using migrations.supabase functions deploy rss-fetch— Ships the RSS worker; addtwitter-fetchto deploy the X worker.
Tip We pin Node.js ≥ 20. Rollup’s platform-specific binaries (required by Astro) expect it, and Vercel cooperates when the
enginesfield is set.