Step1: Download and Install NodeJS from
https://nodejs.org/dist/v12.13.0/node-v12.13.0-x64.msi
Step2: Open Command Prompt with shortcut key: Windows Logo Key + R
write cmd then enter
Step3: Create a folder to your computer as follows:
D:ReactJS
Step4: Go to folder in Command Prompt window by entering following commands:
C:UsersSir-PC> D:
D:> CD ReactJS
Step5:
To create ReactJS app write the following command:
>npx create-react-app hello-world
...
Success!
Step6:
To run your ReactJS app write commands as follows:
D:ReactJS>CD MyApp1
D:ReactJSMyApp1>npm start
Comments 0