react-native init <projectName>
Initialize a new React Native project named <projectName> in a directory of the same name
Arguments
Name | Description |
---|
projectName | |
Options
Name | Description |
---|
--version <version> | Shortcut for `--template react-native@version` |
--template <template> | Uses a custom template. Valid arguments are the ones supported by `yarn add [package]` or `npm install [package]`, if you are using `--npm` option |
--npm | Forces using npm for initialization |
--directory <string> | Uses a custom directory instead of `<projectName>` |
--title <title> | Uses a custom app title name for application |
--skip-install | Skips dependencies installation step |
-h, --help | Output usage information |