In this tutorial, we will learn how to to set up an environment for the successful development of ReactJS application ito do that you should install Node.js and NPM in your syatem. We will also see some useful command which use in angular installation. Follow the some simple steps below to install NodeJS and NPM on windows.
There are multiple ways you can write react.js code and execute it. But the convenient way is to use create-react-app.
1. Install Node.js
Follow the link - https://nodejs.org/en/download/ Download the node.js installer for windows and install it.
To test that you have Node.js and npm correctly installed on your machine, Type the node --version command to check the Node.js installation and version.
Type the npm -v command is used to check the Node.js installation and version.
Step2: Install Visual Studio Code
Follow the link -https://code.visualstudio.com. Download the Visual Studio Code for Windows and install it.
After download, install Visual Studio Code. it will look like this: