React Native环境搭建
2016-04-06 23:35
453 查看
网上比较乱,自己实际做了一次,记录下
Brew\watchman\flow 安装
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install watchman
brew install flow
NVM安装
环境变量生效:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
touch .bash_profile
手动找到 touch .bash_profile,粘贴以下两行内容:
export NVM_DIR="/Users/jing/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
粘贴完,保存,关闭文件
4. source .bash_profile
5. nvm install node && nvm alias default node
以上路径(PWD)都是$Home, $Home=/Users/jing
注意:需自备梯子
Brew\watchman\flow 安装
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install watchman
brew install flow
NVM安装
环境变量生效:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
touch .bash_profile
手动找到 touch .bash_profile,粘贴以下两行内容:
export NVM_DIR="/Users/jing/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
粘贴完,保存,关闭文件
4. source .bash_profile
5. nvm install node && nvm alias default node
以上路径(PWD)都是$Home, $Home=/Users/jing
注意:需自备梯子
相关文章推荐
- 解决Centos编译安装jdk后,JPS不能使用
- Lua在各个操作系统中的开发环境配置教程
- 在Windows XP下安装Apache+MySQL+PHP环境
- jdk环境变量配置
- Windows7下的php环境配置教程
- windows下配置apache+php+mysql时出现问题的处理方法
- 在阿里云 (aliyun) 服务器上搭建Ruby On Rails环境
- 在EditPlus中配置Perl开发编译环境
- PHP学习笔记(一) 简单了解PHP
- 谷歌被屏蔽后如何搭建安卓环境
- Go语言的Windows下环境配置以及简单的程序结构讲解
- Laravel 5框架学习之环境与配置
- win7 64位系统 配置php最新版开发环境(php+Apache+mysql)
- 在Ubuntu 14.04上部署 PHP 环境及 WordPress
- Ubuntu中搭建Nginx、PHP环境最简单的方法
- ubuntu下搭建Go语言(golang)环境
- LAMP环境配置
- CentOS下安装生产环境可用的Memcached
- Clojure基础环境搭建