How to create a React Project On Windows Device

Touba Ijaz
2 min readAug 25, 2021

--

First, you have to install node.js on your local machine to create a new react app. Here below I provided you the link:

Steps:

  1. Click on the windows installer

2. Download the node.js setup

3. By clicking the setup, install node.js

Now, open the command prompt and run the following commands to check if node.js is installed or not:

  1. node -v
  2. npm -v

Congratulations, Node.js is now successfully installed on your local machine. Now let’s create our first React project. First using the cd command to enter the directory where you want to create your react app.

cd Documents

Run the following command for creating a new project:

npx create-react-app my-first-app

Your First react project is now ready!!

Run the following commands to run your project on the browser.

  1. cd my-first-app
  2. npm start

Now, start building your skills with react. Do let me know if you have any questions. :)

--

--

Touba Ijaz
Touba Ijaz

Responses (1)