Skip to content

Commit

Permalink
docs(v2): fix typo in command on installation page (#2886)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
pglezen authored Jun 6, 2020
1 parent 664ceb7 commit 4278ceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4278ceb

Please sign in to comment.