Skip to content
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

Quick access to install command #931

Open
theetrain opened this issue Dec 4, 2024 · 1 comment
Open

Quick access to install command #931

theetrain opened this issue Dec 4, 2024 · 1 comment

Comments

@theetrain
Copy link

Sentiment from Discord:

as a dev, I shouldn't have to click so many times to see the basic command that allows me to create a new project.
Would be nice to have it "accessible" as fast as possible when coming on svelte kit website

Maybe we can add this code snippet on the front page:

npx sv create myapp

Get started

@dievardump
Copy link

dievardump commented Dec 4, 2024

that sentiment is mine.

I'm not the best at remembering how to create a "starter" project with my favorite tools. And I have to say it usually change with every version, so remembering it doesn't always work.

So my first thought is usually "open the website and you should see a quick npm create theFmk" on the main page

Just did it right now with svelte, and I probably had to click through 4/5 pages before thinking "ok, so if it's not easily shown to me, then I have to go to the doc then the how to install" and found it. But I was so much expecting to see it quickly, that I clicked around a few times, before forcing myself to just follow a more logic path.

As a comparison:

  • next has it directly visible on the homepage under the first call to action npx create-next-app@latest
  • vue has an "install" button on the homepage that brings me to the doc with a quick npm create vue@latest in view

Would be nice if this was also as easy to get on sveltekit website.

It could be shown under the "GET STARTED ->" similar to how next does it
It could be shown in the "GET STARTED" page just under the header "Head to the Svelte or SvelteKit reference docs, or choose your adventure:", either as a quick npx sv create my-app text to copy, or it could be a subsection "Install and dive in" that will bring us to "https://svelte.dev/docs/kit/creating-a-project"
...

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

No branches or pull requests

2 participants