Posted over 3 years ago. Visible to the public. Draft.

Install ReactJS Windows

Install NodeJS and NPM:

Go to https://nodejs.org/en/
Download latest version of NodeJS LTS with Administrator privileges.

Install Visual Studio Code:

Go to https://code.visualstudio.com/
Downloaded latest version.
Run VS Code.

It should recommend to install Git. Follow instructions to install Git for Windows.

After installation, should be able to get version of git.

Open terminal and type:

Copy
git --version

Followed by:

Copy
node --version

Followed by:

Copy
npm --version

Each should give versions installed on Windows.

Install React from terminal:

Copy
npm install -g create-react-app

If successful, you should be able to get version:

Copy
create-react-app --version

Create react project:

Copy
create-react-app <projectname>

Run project:

Copy
cd <projectname> npm start

Expected output in terminal (and should auto open browser to port 3000):

Copy
Compiled successfully! You can now view <project_name> in the browser. Local: http://localhost:3000/ On Your Network: http://<your_ip_address>:3000/ Note that the development build is not optimized. To create a production build, use yarn build.

Owner of this card:

Avatar
hashharvest
Last edit:
over 3 years ago
by hashharvest
Posted by hashharvest to ReactJS
This website uses short-lived cookies to improve usability.
Accept or learn more