Skip to content

Commit ba6c6e8

Browse files
committed
Added instructions to install Node using NVM for Windows
1 parent efc350c commit ba6c6e8

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

docs/dev-machine-setup-windows.md

+11-12
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,21 @@ directory (e.g. D:\users\<username>). Follow the steps below to do this.
7878
- Select your home directory.
7979
- Click on "Save Settings".
8080

81-
### Install Node
81+
### Install NVM for Windows & Node
8282

83-
```bash
84-
choco install nodejs-lts -y
85-
```
83+
NVM for Windows is a utility to manage multiple node.js versions. It is better
84+
than using the Node.js installer or Chocolatey because you can keep multiple
85+
versions of Node on your machine, which is very useful sometimes.
8686

87-
Open Cmder and verify that node is installed correctly:
87+
Go to the [NVM for Windows](https://github.com/coreybutler/nvm-windows) repo and
88+
follow the instructions there to install it. Also install the LTS version of
89+
Node (v16.14.0 at the time of this writing).
90+
91+
_In case you don't want to install NVM for Windows, here is the command to
92+
install Node using Chocolatey:_
8893

8994
```bash
90-
node -v # prints v14.17.6 as of this writing
95+
choco install nodejs-lts -y
9196
```
9297

9398
### Install Yarn
@@ -96,12 +101,6 @@ node -v # prints v14.17.6 as of this writing
96101
choco install yarn -y
97102
```
98103

99-
Open Cmder and verify that yarn is installed correctly:
100-
101-
```bash
102-
yarn -v # prints v1.22.5 as of this writing
103-
```
104-
105104
### Try building a React app
106105

107106
Clone the

0 commit comments

Comments
 (0)