Skip to content

Commit 1a0429d

Browse files
manuel3108benmccannAdrianGonz97
authored
docs: add faqs (#474)
* docs: add faqs * Apply suggestions from code review Co-authored-by: Ben McCann <[email protected]> * Update documentation/docs/10-introduction/20-faq.md Co-authored-by: CokaKoala <[email protected]> --------- Co-authored-by: Ben McCann <[email protected]> Co-authored-by: CokaKoala <[email protected]>
1 parent 6f1f006 commit 1a0429d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Frequently asked questions
3+
---
4+
5+
## How do I run the `sv` CLI?
6+
7+
Running the `sv` cli differs for each package manager. Here is a list of the most common commands:
8+
9+
- **NPM** : `npx sv create`
10+
- **PNPM** : `pnpx sv create` or `pnpm dlx sv create`
11+
- **Yarn** : `yarn dlx sv create`
12+
- **Bun** : `bunx sv create`
13+
- **Deno** : `deno run npm:sv create`
14+
15+
## `npx sv` is not working
16+
17+
Some package mangers 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.
18+
19+
Here is a list of issues with possible solutions that users have encountered in the past:
20+
21+
- [`npx sv` create does nothing](https://github.com/sveltejs/cli/issues/472)
22+
- [`sv` command name collides with `runit`](https://github.com/sveltejs/cli/issues/259)
23+
- [`sv` in windows powershell conflicts with `Set-Variable`](https://github.com/sveltejs/cli/issues/317)

0 commit comments

Comments
 (0)