From 4278cebf67c8c1a2e1b1ac6f0cb830b79d08e7b9 Mon Sep 17 00:00:00 2001 From: Paul Glezen Date: Fri, 5 Jun 2020 18:14:53 -0700 Subject: [PATCH] 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. --- website/docs/installation.md | 2 +- website/versioned_docs/version-2.0.0-alpha.56/installation.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/installation.md b/website/docs/installation.md index 9659bac6da..2c49151524 100644 --- a/website/docs/installation.md +++ b/website/docs/installation.md @@ -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. diff --git a/website/versioned_docs/version-2.0.0-alpha.56/installation.md b/website/versioned_docs/version-2.0.0-alpha.56/installation.md index 9659bac6da..2c49151524 100644 --- a/website/versioned_docs/version-2.0.0-alpha.56/installation.md +++ b/website/versioned_docs/version-2.0.0-alpha.56/installation.md @@ -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.