How to Set Up Svelte Locally

Learn how to set up Svelte from scratch on your local machine.

How to set up the project

In order to set up a brand new Svelte project in our local environment, we're going to use the create-vite command. To create a new Svelte project, type the following into your terminal:

Get hands-on with 1400+ tech skills courses.