mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 11:47:23 +02:00
docs(v2): fix typo in command on installation page (#2886)
* Fix installation.md typo Checking the docusaurus version should be done with ``` npx docusaurus --version ``` not ``` npm docusaurus --version ``` otherwise it prints the version of `npm` instead of `docusaurus`. * docs: Fixed installation.md for checking version. Specifying `npm` for the version will yield the version of NPM instead of docusaurus itself. Use `npx` for the docusaurus version.
This commit is contained in:
parent
664ceb7771
commit
4278cebf67
2 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ npm install
|
|||
To check that that the update occurred successfully, run:
|
||||
|
||||
```bash npm2yarn
|
||||
npm docusaurus --version
|
||||
npx docusaurus --version
|
||||
```
|
||||
|
||||
You should see the correct version as output.
|
||||
|
|
|
@ -123,7 +123,7 @@ npm install
|
|||
To check that that the update occurred successfully, run:
|
||||
|
||||
```bash npm2yarn
|
||||
npm docusaurus --version
|
||||
npx docusaurus --version
|
||||
```
|
||||
|
||||
You should see the correct version as output.
|
||||
|
|
Loading…
Add table
Reference in a new issue