在命令行键入 cnpm install -g create-react-app //在自己的项目目录git bash //键入 create-react-app my-app //进入项目 cd my-app npm start