Skip to main content

How To Create a React Application?

Image of react logo

1) Open the terminal
2) Navigate to the directory that you wish to create your react application within. In our example it will be the desktop.

cd Desktop

3) Run npx create-react-app exampleName

  • Note that exampleName is the name of the react application and can be named anything you choose

4) Navigate to the directory that you just created

cd exampleName

5) Run the react application using the command npm run start