mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
[Docs] Explain more about nvm in the io.js setup docs
Clarify that io.js is the modern version of Node and explain a little more about how to get set up with nvm, and that it lets you switch between multiple io.js/node versions.
This commit is contained in:
@@ -12,8 +12,9 @@ Since React makes no assumptions about the rest of your technology stack – it
|
||||
## Requirements
|
||||
|
||||
- [CocoaPods](http://cocoapods.org/) – `gem install cocoapods`
|
||||
- [io.js](http://iojs.org) – `brew install iojs && brew link iojs --force` or from [nvm](https://github.com/creationix/nvm)
|
||||
- You may have to run `brew unlink node` if you have previously installed Node
|
||||
- [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 && nvm alias default iojs`, which installs the latest 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 React Native Using CocoaPods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user