mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Added guide for getting started on Linux.
Reviewed By: svcscm Differential Revision: D2936728 fb-gh-sync-id: ead3daf31b624e096b12fa8db892724667e87f51 shipit-source-id: ead3daf31b624e096b12fa8db892724667e87f51
This commit is contained in:
committed by
facebook-github-bot-1
parent
1463970f43
commit
2260d900d4
@@ -4,7 +4,7 @@ title: Getting Started
|
||||
layout: docs
|
||||
category: Quick Start
|
||||
permalink: docs/getting-started.html
|
||||
next: android-setup
|
||||
next: getting-started-linux
|
||||
---
|
||||
|
||||
## Requirements
|
||||
@@ -31,9 +31,17 @@ _NOTE:_ There is experimental [Windows and Linux support](docs/linux-windows-sup
|
||||
|
||||
## Quick start
|
||||
|
||||
Install the React Native command line tools:
|
||||
|
||||
$ npm install -g react-native-cli
|
||||
|
||||
__NOTE__: If you see the error, `EACCES: permission denied`, please run the command: `sudo npm install -g react-native-cli`.
|
||||
|
||||
Create a React Native project:
|
||||
|
||||
$ react-native init AwesomeProject
|
||||
|
||||
|
||||
**To run the iOS app:**
|
||||
|
||||
- `$ cd AwesomeProject`
|
||||
|
||||
Reference in New Issue
Block a user