Skip to main content

sv create

sv create sets up a new SvelteKit project, with options to setup additional functionality.

Usage

npx sv create [options] [path]

Options

--check-types <option>

Whether and how to add typechecking to the project:

  • typescript — default to .ts files and use lang="ts" for .svelte components
  • checkjs — use JSDoc syntax for types
  • none — no typechecking. Not recommended!

--template <name>

Which project template to use:

  • minimal — barebones scaffolding for your new app
  • demo — showcase app with a word guessing game that works without JavaScript
  • library — template for a Svelte library, set up with svelte-package

--no-integrations

Run the command without the interactive add-ons prompt

--no-install

Skip dependency installation

Edit this page on GitHub

previous next