# @react-native-community/cli

> React Native CLI

Latest version **20.2.0** (published 2026-06-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @react-native-community/cli
pnpm add @react-native-community/cli
yarn add @react-native-community/cli
bun add @react-native-community/cli
```

Provides the command `rnc-cli`.

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 20.2.0 |
| Published | 2026-06-25 |
| First published | 2019-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20.19.4 |
| Dependencies | 15 |
| Unpacked size | 223.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2935 |
| Maintainers | thymikee, react-native-community-bot, cortinico, szymonrybczak |

## Links

- npm: https://www.npmjs.com/package/@react-native-community/cli
- Repository: https://github.com/react-native-community/cli
- Homepage: https://github.com/react-native-community/cli/tree/main/packages/cli
- Issues: https://github.com/react-native-community/cli/issues
- npm.io page: https://npm.io/package/@react-native-community/cli

## Dependencies (15)

- [execa](https://npm.io/package/execa.md) ^5.0.0
- [semver](https://npm.io/package/semver.md) ^7.5.2
- [find-up](https://npm.io/package/find-up.md) ^5.0.0
- [prompts](https://npm.io/package/prompts.md) ^2.4.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^8.1.0
- [commander](https://npm.io/package/commander.md) ^9.4.1
- [deepmerge](https://npm.io/package/deepmerge.md) ^4.3.0
- [picocolors](https://npm.io/package/picocolors.md) ^1.1.1
- [graceful-fs](https://npm.io/package/graceful-fs.md) ^4.1.3
- [@react-native-community/cli-clean](https://npm.io/package/@react-native-community/cli-clean.md) 20.2.0
- [@react-native-community/cli-tools](https://npm.io/package/@react-native-community/cli-tools.md) 20.2.0
- [@react-native-community/cli-types](https://npm.io/package/@react-native-community/cli-types.md) 20.2.0
- [@react-native-community/cli-config](https://npm.io/package/@react-native-community/cli-config.md) 20.2.0
- [@react-native-community/cli-doctor](https://npm.io/package/@react-native-community/cli-doctor.md) 20.2.0
- [@react-native-community/cli-server-api](https://npm.io/package/@react-native-community/cli-server-api.md) 20.2.0

## Recent versions

- 20.2.0 (latest) — 2026-06-25
- 17.0.1 (17.x) — 2025-11-05
- 18.0.1 (18.x) — 2025-11-05
- 19.1.2 (19.x) — 2025-11-05
- 20.0.0-alpha.2 (next) — 2025-07-24
- 16.0.3 (16.x) — 2025-04-17
- 14.1.2 (14.x) — 2024-12-12
- 12.3.7 (12.x) — 2024-06-05
- 10.2.7 (10.x) — 2024-02-19
- 11.4.1 (11.x) — 2024-02-19
- 9.3.5 (9.x) — 2023-11-06
- 7.0.4 (7.x) — 2022-07-18
- 2.10.0 (legacy) — 2019-11-15
- 20.1.3 — 2026-03-24
- 20.1.2 — 2026-02-24
- … 318 more at https://npm.io/package/@react-native-community/cli/versions

## README

# React Native Community CLI

[![npm package](https://img.shields.io/npm/v/@react-native-community/cli?label=latest%20stable)](https://www.npmjs.com/package/@react-native-community/cli)

Command line tools for building apps with [React Native](https://reactnative.dev), shipped as the `@react-native-community/cli` npm package.

See also the [Community Template](https://github.com/react-native-community/template).

## Docs

- [Initializing a new project](https://github.com/react-native-community/cli/tree/main/docs/init.md)
- [Configuration](https://github.com/react-native-community/cli/tree/main/docs/configuration.md)
- [Commands](https://github.com/react-native-community/cli/tree/main/docs/commands.md)
- [Plugins](https://github.com/react-native-community/cli/tree/main/docs/plugins.md)
- [Autolinking](https://github.com/react-native-community/cli/tree/main/docs/autolinking.md)

## Compatibility

Our release cycle is independent of `react-native`.

> [!Warning]
> **Important**: `@react-native-community/cli` is designed to work with specific `react-native` versions. We do not recommend updating CLI independently, as it may cause unexpected issues.

| `@react-native-community/cli`                                      | `react-native`            |
| ------------------------------------------------------------------ | ------------------------- |
| [^20.0.0](https://github.com/react-native-community/cli/tree/main) | ^0.81.0, ^0.82.0, ^0.83.0, ^0.84.0, ^0.85.0 |
| [^19.0.0](https://github.com/react-native-community/cli/tree/19.x) | ^0.80.0                   |
| [^18.0.0](https://github.com/react-native-community/cli/tree/18.x) | ^0.79.0                   |
| [^15.0.0](https://github.com/react-native-community/cli/tree/15.x) | ^0.76.0, ^0.77.0, ^0.78.0 |

[Previous versions](https://github.com/react-native-community/cli/blob/b26aa65/README.md)

## Creating a new React Native project

Run the following command in your terminal prompt:

```sh
npx @react-native-community/cli@latest init MyApp
```

See more options for the `init` command [here](https://github.com/react-native-community/cli/blob/main/docs/init.md).

## Usage in an existing React Native project

Once installed, you can run commands to interact with your projects by using the `rnc-cli` binary.

Example running `start` command in terminal:

```sh
yarn rnc-cli start
```

You can also add npm scripts to call it with whichever package manager you use:

```json
{
  "scripts": {
    "start": "rnc-cli start"
  }
}
```

to call it as

```sh
yarn start
```

## Maintainers

- Michał Pierzchała ([**@thymikee**](https://github.com/thymikee)) - [Callstack](https://callstack.com)
- Alex Hunt ([**@huntie**](https://github.com/huntie)) - [Meta](https://meta.com)

Previously:

- Szymon Rybczak ([**@szymonrybczak**](https://github.com/szymonrybczak))
- Mike Grabowski ([**@grabbou**](https://github.com/grabbou)) - [Callstack](https://callstack.com)
- Kacper Wiszczuk ([**@esemesek**](https://github.com/esemesek)) - [Callstack](https://callstack.com)
- Adam Trzciński ([**@adamTrz**](https://github.com/adamTrz)) - [Callstack](https://callstack.com)

## License

Everything inside this repository is [MIT licensed](./LICENSE).

---
_Source: https://npm.io/package/@react-native-community/cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
