Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 968 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 968 Bytes

rninit is an alternative to react-native-cli. With a --source argument, you can use a specific react-native version to initialize a new project.

Install

npm i -g rninit

Usage

Create a new react-native project using latest react-native version

rninit init [Project Name]

Create a new react-native project using a specific react-native version

rninit init [Project Name] --source [email protected]

Or using a github repo.

rninit init [Project Name] --source git+https://github.com/facebook/react-native.git#v0.14.2

Please refer to npm install for valid --source format.

As the original react-native-cli, we also support --verbose argument:

rninit init [Project Name] --source [email protected] --verbose