先 npm init 出一个package.json 文件来。再 npm install react-native --save //可以加上淘宝镜像地址。这一步是下载react-native的然后安装:node -e "require('react-native/local-cli/cli').init('.','MyProject')"//这一步已经安装好了。写入真机,启动
https://segmentfault.com/q/1010000003985593