Replies: 1 comment
-
Never mind, seems like there was alternative installation commands but toggled off. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the beginning of installation documentation, it was shown how to initialize a
docusaurus
project withnpx/npm
. But after that, there are package manager selectors to guide how to start the server and other things.When we initialize the project, the generated
README.md
tells us to install packages or start development server withyarn
.I think, it will be better if we also include package manager selectors in initialization phase and also dynamically change the
README.md
description to whatever package manager user used to initialize the project.Another question I have, why are we not using
npm create docusaurus
instead ofnpx create-docusaurus@latest
is there any difference between them? I tried both of them with different package managers and they seem to work just fine. But I kinda prefer the syntax and simplicity of usingnpm create docusaurus
as an alias.Oh wait, I actually hate using npm because it takes twice as much or more time than any other package managers.
Reference: https://docusaurus.io/docs/installation
Beta Was this translation helpful? Give feedback.
All reactions