mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
[docs] remove instructions to install node/io.js with brew
nvm is way better than homebrew for managing node installations: - can install multiple versions - can choose which version of node to install - easy to clean up under ~/.nvm - there are still some rough edges with /usr/local on El Cap -- nvm avoids those altogether
This commit is contained in:
@@ -13,8 +13,7 @@ Since React makes no assumptions about the rest of your technology stack – it
|
||||
|
||||
- [CocoaPods](http://cocoapods.org/) – `gem install cocoapods`
|
||||
- [io.js](http://iojs.org)
|
||||
- **With nvm:** Install nvm with [its setup instructions here](https://github.com/creationix/nvm#installation). Then run `nvm install iojs-v2 && nvm alias default iojs-v2`, which installs the latest compatible version of io.js and sets up your terminal so that typing `node` runs io.js. With nvm you can install multiple versions of Node and io.js and easily switch between them.
|
||||
- **With Homebrew:** Run `brew install iojs && brew link iojs --force`. You may need to run `brew unlink node` if you have previously installed Node.
|
||||
- Install **nvm** with [its setup instructions here](https://github.com/creationix/nvm#installation). Then run `nvm install iojs-v2 && nvm alias default iojs-v2`, which installs the latest compatible version of io.js and sets up your terminal so that typing `node` runs io.js. With nvm you can install multiple versions of Node and io.js and easily switch between them.
|
||||
|
||||
## Install React Native Using CocoaPods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user