- Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Node 和 npm
brew install node
- watchman
brew instsll watchman
- flow
brew install flow
- npm 换源
npm config set registry https://registry.npm.taobao.org/
- 检查换源是否成功
npm config get registry
- create-react-app
npm install -g create-react-app
- react-native-cli
npm install -g react-native-cli
- yarn
npm install -g yarn
网友评论