From 554f23276b6bd01ee942a5e0e4e964e4d0b09274 Mon Sep 17 00:00:00 2001 From: James Ide Date: Thu, 6 Aug 2015 14:22:45 -0700 Subject: [PATCH] [Docs] Update setup instructions to install io.js 2.x instead of latest The ws module has not been updated to work with 3.x quite yet. --- docs/EmbeddedApp.md | 2 +- docs/GettingStarted.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/EmbeddedApp.md b/docs/EmbeddedApp.md index f89ecc3c4..0efbdf719 100644 --- a/docs/EmbeddedApp.md +++ b/docs/EmbeddedApp.md @@ -13,7 +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 && 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 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 React Native Using CocoaPods diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index a215a3547..bf8ac5a48 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -13,7 +13,7 @@ next: tutorial 2. [Xcode](https://developer.apple.com/xcode/downloads/) 6.3 or higher is recommended. 3. [Homebrew](http://brew.sh/) is the recommended way to install io.js, watchman, and flow. 4. Install [io.js](https://iojs.org/) 1.0 or newer. io.js is the modern version of Node. - - **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 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. - New to [npm](https://docs.npmjs.com/)? 5. `brew install watchman`. We recommend installing [watchman](https://facebook.github.io/watchman/docs/install.html), otherwise you might hit a node file watching bug.