# Introducing the new Svelte CLI

DevFeed: [Introducing the new Svelte CLI](<https://devfeed.tech/articles/introducing-the-new-svelte-cli-3036.md>)

Original publisher: [Read original article](<https://svelte.dev/blog/sv-the-svelte-cli>)

Author: Ben McCann

Published: 2024-10-24T00:00:00Z

Content type: release

Language: en

Sources: [Svelte blog](<https://devfeed.tech/sources/svelte-blog.md>)

Topics: [Svelte](<https://devfeed.tech/topics/svelte.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Template](<https://devfeed.tech/topics/template.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Tailwind CSS](<https://devfeed.tech/topics/tailwind.md>), [Drizzle](<https://devfeed.tech/topics/drizzle.md>), [ESLint](<https://devfeed.tech/topics/eslint.md>), [Prettier](<https://devfeed.tech/topics/prettier.md>), [Internationalization (i18n)](<https://devfeed.tech/topics/i18n.md>), [Playwright](<https://devfeed.tech/topics/playwright.md>), [Storybook](<https://devfeed.tech/topics/storybook.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [cli](<https://devfeed.tech/tags/cli.md>), [drizzle](<https://devfeed.tech/tags/drizzle.md>), [eslint](<https://devfeed.tech/tags/eslint.md>), [migration](<https://devfeed.tech/tags/migration.md>), [npm](<https://devfeed.tech/tags/npm.md>), [svelte](<https://devfeed.tech/tags/svelte.md>), [tailwind](<https://devfeed.tech/tags/tailwind.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tool](<https://devfeed.tech/tags/tool.md>), [tools](<https://devfeed.tech/tags/tools.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

Svelte has released sv, a unified command-line interface for creating, enhancing, and upgrading Svelte projects. It provides project templates, optional add-ons for tools and services such as TypeScript, Tailwind CSS, formatting, linting, testing, databases, authentication, internationalization, and Storybook, and migration support for upgrading Svelte 4 projects to Svelte 5.

## Source excerpt

We've just released sv, a new Command Line Interface (CLI) for creating, enhancing, and upgrading Svelte projects. One of the most common question we hear is "how do I set up Tailwind on my new project?". Tailwind has SvelteKit documentation, but it lists eight steps. While the community-led svelte-add project could automate the process, few knew about it. Introducing sv at Svelte Summit Fall 2024 Now, we're offering that functionality via our own CLI, directly within the project creation screen. And not just for Tailwind -- we have built-in add-ons for formatting, linting, testing, setting up databases and auth and i18n and more. Just run npx sv create and follow the prompts: $ npx sv create ┌ 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 └ You can also run npx sv add to apply add-ons to existing projects. In the near future, we will also be supporting add-ons contributed by the community within sv. If you're interested in building one, please subscribe to the issue in the CLI repository to be notified when third party add-ons are supported. It doesn't stop there. Over time, Svelte has accumulated a handful of CLIs: svelte-check type-checks your project from the command line, npx svelte-migrate helps you upgrade to new major versions, and in the future we might have even more capabilities. Remembering the package name of each tool is cumbersome, which is why we unify the experience under one roof, sv. That means you can now run sv migrate svelte-5 to upgrade your Svelte 4 projects to Svelte 5. (The migration functionality can also be found in Svel