How to create React project using command prompt?

 How to create React project using command prompt?

Ans :- firstly you have to install node js and npm in your system after after that follow these steps:-

Step 1:- Open command prompt and for create project write npx create-next-app




Step 2:- Now it will say to write your Project name.




Step 3 :- Now write your project name as per your choice.




Step 4 :- Now it will ask what is your needs to create a project



 

Step 5 :- Now you can see dependencies are Installed as shown in below image



Step 6 :- Now use this command for change the directory


Step 7 :- Now you can see below directory is changed



Step 8 :- Now for open the project in Vs code use this command code .




Step 9 :- Now you can see your project is directly opened in Visual Studio Code





Comments