Installation & Setup in Svelte

From the SvelteKit cheat sheet · Setup & Project Structure · verified Nov 2026

Installation & Setup

Creating a new SvelteKit project

bash
# Create new SvelteKit app
npx sv create my-app
cd my-app
npm install          # if you skipped it during create
npm run dev          # http://localhost:5173

# sv create asks for
#   Template:  minimal, demo or library
#   Types:     TypeScript, JSDoc or none
#   Add-ons:   prettier, eslint, vitest, playwright,
#              tailwindcss, drizzle, sveltekit-adapter
🚀 Built on Vite for lightning-fast HMR
📦 SvelteKit 3 needs Node 22.17+, Vite 8 and Svelte 5
🔧 npx sv add sets up adapters, Tailwind, testing and more
⚡ npx sv migrate sveltekit-3 upgrades a SvelteKit 2 app

Continue with SvelteKit

Save the full cheat sheet or work through every related task.

More Svelte tasks

Back to the full SvelteKit cheat sheet