From 999b12092079ada87bb544798ef4f347f9b072d4 Mon Sep 17 00:00:00 2001 From: Nicolas Cuillery Date: Mon, 5 Dec 2016 16:14:08 -0800 Subject: [PATCH] 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 --- blog/2016-12-05-easier-upgrades.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/blog/2016-12-05-easier-upgrades.md b/blog/2016-12-05-easier-upgrades.md index 79cf43010..1638f8803 100644 --- a/blog/2016-12-05-easier-upgrades.md +++ b/blog/2016-12-05-easier-upgrades.md @@ -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 ```