Mention Yarn in blog post

Summary:
An original idea from GantMan #11311
Closes https://github.com/facebook/react-native/pull/11313

Differential Revision: D4281207

Pulled By: mkonicek

fbshipit-source-id: e878c0ace65c0f4614e0325f7f2f0b660559e754
This commit is contained in:
Nicolas Cuillery 2016-12-05 16:14:08 -08:00 committed by Facebook Github Bot
parent d482743f91
commit 999b120920
1 changed files with 11 additions and 1 deletions

View File

@ -20,10 +20,20 @@ Today I am proud to introduce a new tool that helps solve this problem. The tool
> **Requirement**: Git has to be available in the `PATH`. Your project doesn't have to be managed by Git.
Install `react-native-git-upgrade` globally and run it inside your project directory:
Install `react-native-git-upgrade` globally:
```shell
$ npm install -g react-native-git-upgrade
```
or, using [Yarn](https://yarnpkg.com/):
```shell
$ yarn add global react-native-git-upgrade
```
Then, run it inside your project directory:
```shell
$ cd MyProject
$ react-native-git-upgrade 0.38.0
```