A buzzword in modern Web development is, developing user interface (UI) with React. In this guide, we’ll show you how to install React App. Let’s jump in!
The prerequest of installing create-react-app tool are node are npm.
To check if, the node is properly installed, run this command in your terminal, node -v
.
Also, check npm is available with npm -v
If it’s not available, please download it from https://nodejs.org/en/. Just follow the instructions to install it.
We install React with create-react-app
. To install create react app type[sudo] npm install -g create-react-app
After installing all, go to the desired directory in the terminal and typenpx create-react-app new-app
Change the directory to this new-app
. Lastly, start this brand new react application withcd new-app && npm start