Installation in Svelte
From the Svelte cheat sheet · Setup & Basics · verified Jul 2026
Installation
Setting up a new Svelte 5 project
bash
# Quick Start
npm create vite@latest my-app -- --template svelte
cd my-app && npm install && npm run dev💡 Svelte 5 compiles components to vanilla JavaScript
⚡ No virtual DOM - direct DOM manipulation for speed
📦 Smaller bundle sizes than most frameworks
🔧 Built-in state management with new runes system