Please download Node.js first, please refer to the article: https://blog.csdn.net/m0_61843874/article/details/123643722?spm=1001.2014.3001.5501
☕Steps
1. Create a new folder on the desktop
2. Open the folder with Visual Studio Code
3. Shortcut key: Ctrl+` Open the terminal and enter the command line: npx create-react-app my-app (my-app is the project name, which can be changed freely)
4. After the execution is completed, a my-app folder will be generated, and some commands in blue font will be seen on the terminal:
5. The next step is to execute cd my-app to enter the inside of the my-app folder
6. Run the react project and enter the command: npm start
Finally, an interface like this will open: