install svelte code example
Example 1: install svelte
npx degit sveltejs/template my-svelte-project
cd my-svelte-project
npm install
npm run dev
Example 2: create svelte app
npx degit sveltejs/template my-svelte-project
cd my-svelte-project
npm install
npm run dev