You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: do not edit this file, it is generated in apps/svelte.dev/scripts/sync-docs/index.ts
3
+
title: Frequently asked questions
4
+
---
5
+
6
+
## How do I run the `sv` CLI?
7
+
8
+
Running `sv` looks slightly different for each package manager. Here is a list of the most common commands:
9
+
10
+
-**npm** : `npx sv create`
11
+
-**pnpm** : `pnpx sv create` or `pnpm dlx sv create`
12
+
-**Bun** : `bunx sv create`
13
+
-**Deno** : `deno run npm:sv create`
14
+
-**Yarn** : `yarn dlx sv create`
15
+
16
+
## `npx sv` is not working
17
+
18
+
Some package managers prefer to run locally installed tools instead of downloading and executing packages from the registry. This issue mostly occurs with `npm` and `yarn`. This usually results in an error message or looks like the command you were trying to execute did not do anything.
19
+
20
+
Here is a list of issues with possible solutions that users have encountered in the past:
21
+
22
+
-[`npx sv` create does nothing](https://github.com/sveltejs/cli/issues/472)
23
+
-[`sv` command name collides with `runit`](https://github.com/sveltejs/cli/issues/259)
24
+
-[`sv` in windows powershell conflicts with `Set-Variable`](https://github.com/sveltejs/cli/issues/317)
0 commit comments