https://github.com/farhoudshapouran/create-rn-app
❯ Customizable and user-friendly React Native command line tools
https://github.com/farhoudshapouran/create-rn-app
android bun cli expo-modules ios javascript npm react-native react-native-web react-navigation typescript yarn
Last synced: 2 months ago
JSON representation
❯ Customizable and user-friendly React Native command line tools
- Host: GitHub
- URL: https://github.com/farhoudshapouran/create-rn-app
- Owner: farhoudshapouran
- Created: 2023-12-06T20:25:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T11:05:20.000Z (over 2 years ago)
- Last Synced: 2025-10-30T18:42:17.214Z (8 months ago)
- Topics: android, bun, cli, expo-modules, ios, javascript, npm, react-native, react-native-web, react-navigation, typescript, yarn
- Language: TypeScript
- Homepage:
- Size: 227 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
❯ npx create-rn-app
Customizable, beautiful and user-friendly React Native command line tools
The easiest way to get started with React Native is by using `create-rn-app`. This CLI tool enables you to quickly start building a new React Native application, with everything set up for you.

### Interactive
You can create a new project interactively by running:
```bash
npx create-rn-app
# or
yarn create rn-app
# or
pnpm create rn-app
# or
bunx create-rn-app
```
You will be asked for the name of your project, and then whether you want to
create a TypeScript project:
```bash
✔ Would you like to use TypeScript? … No / Yes
```
Select **Yes** to install the necessary types/dependencies and create a new TS project.
### Non-interactive
You can also pass command line arguments to set up a new project
non-interactively. See `create-rn-app --help`:
```bash
create-rn-app [options]
Options:
-V, --version output the version number
--ts, --typescript
Initialize as a TypeScript project. (default)
--js, --javascript
Initialize as a JavaScript project.
--use-npm
Explicitly tell the CLI to bootstrap the app using npm
--use-yarn
Explicitly tell the CLI to bootstrap the app using Yarn
--use-bun
Explicitly tell the CLI to bootstrap the app using Bun
-e, --example [name]|[github-url]
An example to bootstrap the app with. You can use an example name
from the Create-RN-App repo or a GitHub URL. The URL can use
any branch and/or subdirectory
--example-path
In a rare case, your GitHub URL might contain a branch name with
a slash (e.g. bug/fix-1) and the path to the example (e.g. foo/bar).
In this case, you must specify the path to the example separately:
--example-path foo/bar
```