From a867503f2071c829794d5ac8b4fce147deaf291f Mon Sep 17 00:00:00 2001 From: Jay Martin Date: Fri, 26 Jul 2019 11:07:48 -0700 Subject: [PATCH] docs: rearrange the info for install and check Node.js (#1712) The description of `npm` fits better in the opening paragraph than in a numbered step. The note about version 8 fits better in the Check section than the Install section. --- docs/tutorial-setup.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/tutorial-setup.md b/docs/tutorial-setup.md index 17c352d750..153defe382 100644 --- a/docs/tutorial-setup.md +++ b/docs/tutorial-setup.md @@ -13,12 +13,10 @@ Git is a version control system for tracking changes in source code during softw ## Install Node.js -Node.js is an environment that can run JavaScript code outside of a web browser and is used to write and run server-side JavaScript apps. - -> Docusaurus' minimum supported Node.js version is Node 8, but more recent versions will work as well. +Node.js is an environment that can run JavaScript code outside of a web browser and is used to write and run server-side JavaScript apps. Node.js installation includes `npm`, the package manager that allows you to install NPM modules from your terminal. 1. Open your Terminal. -1. If you have `brew` on your OS, run the following command to install Node (a JavaScript runtime that allows you to run JavaScript on the server) and `npm` the package manager (allows you to install npm modules from your terminal). +1. If you have `brew` on your OS, run the following command to install Node. ```sh brew install node @@ -41,6 +39,8 @@ node -v v8.15.1 ``` +> Docusaurus' minimum supported Node.js version is Node 8, but more recent versions will work as well. + ## Install Yarn (Optional) We highly recommend that you install Yarn, an alternative package manager that has superb performance for managing your NPM dependencies. Check it out [here](https://yarnpkg.com/en/docs/install).