Svelte has an amazing new CLI


Svelte 5 is here and it is amazing. And now, it even has a new CLI, providing a huge boost to the ecosystem.

With the new CLI, Svelte(Kit) projects can be kickstarted. The CLI allows to select libraries such as Tailwind, helpers such as Storybook and even ORMs like Drizzle. It doesn’t even stop here. You can select a database, and for Postgres and MySQL, the CLI can create the respective Docker files for deployment and development.

Using the CLI

npx sv create

Tip: You can alternatively use Bun’s package runner: bunx sv create

Then, it will prompt you all the options:

  Welcome to the Svelte CLI! (v0.5.8)

  Where would you like your project to be created?
  my-new-app

  Which template would you like?
  SvelteKit minimal

  Add type checking with Typescript?
  Yes, using Typescript syntax

  Project created

  What would you like to add to your project? (use arrow keys / space bar)
 prettier (https://prettier.io)
 eslint
 vitest
 playwright
 tailwindcss
 drizzle
 lucia
 mdsvex
 paraglide
 storybook