1.下载npm,node
分别输入npm,node查看是否存在
不存在根据指令下载
2.更新npm
npm install npm -g
3.安装n模块
npm install -g n
4.更新node
n stable
或更新至指定版本
n 8.9.2
5.将npm替换成淘宝镜像,提高下载速度
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm -v
6.下载create-react-app
sudo npm install create-react-app -g
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。