1.安装nodejs
2.打开cmd命名框输入: npx create-react-app 项目名
npx create-react-app 项目名
3.创建成功后在cmd:cd 项目名
4.再输入 npm start