From 74c754de764b6ae3afee71b60e19dd6d604ddd82 Mon Sep 17 00:00:00 2001 From: George K Date: Mon, 28 Nov 2016 03:01:46 -0800 Subject: [PATCH] Added npm react-native-cli command to windows and linux Summary: The windows and linux block didn't have the command to install react-native-cli. The command is the exact same as it is on macOS. It makes the guide a little confusing because it leaves out this critical step and it's difficult to understand whether or not this needed component was already indirectly installed in one of the other steps. Closes https://github.com/facebook/react-native/pull/11135 Differential Revision: D4236984 Pulled By: mkonicek fbshipit-source-id: dca237132df7d80b5a02eaf09faec53e13e005cb --- docs/GettingStarted.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index 9a94d4c65..f87a4cb25 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -118,6 +118,12 @@ choco install python2 Node.js comes with npm, which lets you install the React Native command line interface. +Run the following command in a Terminal: + +``` +npm install -g react-native-cli +``` + ### The React Native CLI