Homebrew Node npm 等

2018-01-04  本文已影响0人  丶HanGH
  1. Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Node 和 npm
brew install node
  1. watchman
brew instsll watchman
  1. flow
brew install flow
  1. npm 换源
 npm config set registry https://registry.npm.taobao.org/
  1. 检查换源是否成功
npm config get registry
  1. create-react-app
npm install -g create-react-app
  1. react-native-cli
npm install -g react-native-cli
  1. yarn
npm install -g yarn
上一篇下一篇

猜你喜欢

热点阅读