Skip to content

Commit 52811d5

Browse files
Sync cli docs (#1298)
sync cli docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent e7100f0 commit 52811d5

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

apps/svelte.dev/content/docs/cli/20-commands/10-sv-create.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,19 @@ Prevent typechecking from being added. Not recommended!
3636

3737
Run the command without the interactive add-ons prompt
3838

39+
### `--install <package-manager>`
40+
41+
Installs dependencies with a specified package manager:
42+
43+
- `npm`
44+
- `pnpm`
45+
- `yarn`
46+
- `bun`
47+
- `deno`
48+
3949
### `--no-install`
4050

41-
Skip dependency installation
51+
Prevents installing dependencies.
4252

4353
<!-- ## Programmatic interface
4454

apps/svelte.dev/content/docs/cli/20-commands/20-sv-add.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ You can select multiple space-separated add-ons from [the list below](#Official-
2121

2222
- `-C`, `--cwd` — path to the root of your Svelte(Kit) project
2323
- `--no-preconditions` — skip checking preconditions <!-- TODO what does this mean? -->
24-
- `--no-install` — skip dependency installation
24+
- `--install` — installs dependencies with a specified package manager
25+
- `--no-install` — prevents installing dependencies
2526

2627
## Official add-ons
2728

0 commit comments

Comments
 (0)