Skip to content

docs: sv create already installs dependencies #14095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 5, 2025

Conversation

p5quared
Copy link
Contributor

@p5quared p5quared commented Aug 2, 2025

npx sv create my-app actually prompts you to choose a package manager and install dependencies. You don't need to run npm install.

closes #14094

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
  • This message body should clearly illustrate what problems it solves.

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

  • Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

Copy link

changeset-bot bot commented Aug 2, 2025

⚠️ No Changeset found

Latest commit: c507841

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svelte-docs-bot
Copy link

@benmccann benmccann changed the title docs(getting-started): sv create already install dependencies docs: sv create already installs dependencies Aug 4, 2025
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
@benmccann
Copy link
Member

For reference, here is what sv currently prompts:

Screenshot from 2025-08-04 10-06-07

I think we need to be careful that users don't select "None"

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
@benmccann benmccann added the documentation Improvements or additions to documentation label Aug 4, 2025
@p5quared
Copy link
Contributor Author

p5quared commented Aug 4, 2025

@benmccann When would a user select None? My guess is when they mean "Other"? Should it be the last option rather than the first and renamed? Maybe not since "none" is what the outcome is.

@benmccann
Copy link
Member

You might select "None" if you want to see the output to see what's created without waiting for the install process to complete. Or maybe you know there are some tweaks you want to make like changing the packages in package.json before doing an install

@eltigerchino eltigerchino merged commit b2f6a41 into sveltejs:main Aug 5, 2025
18 checks passed
@jycouet
Copy link
Contributor

jycouet commented Aug 5, 2025

FYI: I select none most of the time to add more stuff before actually doing an install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs nit: unecessary npm install
4 participants