How to Install React ?

In this tutorial i’m going to learn how to install React

How to Install Create-React-App

In order to install your app, first go to your workspace (desktop or a folder) and run the following command:

Go to your visual code and open terminal there as below.

How to Run the App You Created with Create-React-App

After the installation is completed, change to the directory where your app was installed:

and finally run npm start to see your app live on localhost:

Now React app successfully installed.

2nd step

cd my-app

npm start

If you see something like this in your browser, you are ready to work with React. Congratulations! :)

Thank you for reading!

--

--

Hi I am Amit Experienced Web Developer with a demonstrated history of working in the information technology and services industry.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Amit Kumar

Hi I am Amit Experienced Web Developer with a demonstrated history of working in the information technology and services industry.