Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cli

> 前端框架
Open source

The React Native Community CLI — Command line tools to help you build React Native apps

46.3K stars0 likes3 views
WebsiteGitHub

About

The React Native Community CLI — Command line tools to help you build React Native apps

React Native Community CLI

Command line tools for building apps with React Native, shipped as the @react-native-community/cli npm package.

See also the Community Template.

Docs

  • Initializing a new project
  • Configuration
  • Commands
  • Plugins
  • Autolinking

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 ^0.81.0, ^0.82.0, ^0.83.0, ^0.84.0, ^0.85.0
^19.0.0 ^0.80.0
^18.0.0 ^0.79.0
^15.0.0 ^0.76.0, ^0.77.0, ^0.78.0

Previous versions

Creating a new React Native project

Run the following command in your terminal prompt:

bash
npx @react-native-community/cli@latest init MyApp

See more options for the init command here.

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:

bash
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

bash
yarn start

Maintainers

  • Michał Pierzchała (@thymikee) - Callstack
  • Alex Hunt (@huntie) - Meta

Previously:

  • Szymon Rybczak (@szymonrybczak)
  • Mike Grabowski (@grabbou) - Callstack
  • Kacper Wiszczuk (@esemesek) - Callstack
  • Adam Trzciński (@adamTrz) - Callstack

License

Everything inside this repository is MIT licensed.

Issues· 67 open

View all issuesOpen on GitHub
  • #2856

    Support existing CLI apple project use cases without relying on podfile existing on the disk (projects using SPM)

    feature requestUpdated Sep 13, 2026
  • #2855

    FASOCARD

    bug reportUpdated Sep 13, 2026
  • #2854

    FASOCARD

    bug reportUpdated Sep 13, 2026
  • #2852

    Tons of errors are ignored

    Updated Sep 10, 2026
  • #2851

    run-android: "Could not find the correct install APK file" for single-dimension camelCase product flavors when targeting a specific device

    Updated Sep 4, 2026
  • #2826

    run-ios --udid <physical device> throws "No simulator available" because the fallback simulator is resolved eagerly

    bug reportUpdated Aug 20, 2026
  • #2825

    `project.ios.automaticPodsInstallation` default of `true` never applies unless `project.ios` is explicitly declared in `react-native.config.js`

    bug reportUpdated Aug 19, 2026
  • #2824

    run-android fails with "No connected devices!" on a cold-booting emulator (waits for adb, not for sys.boot_completed)

    Updated Aug 8, 2026
  • #2820

    run-ios: "Unable to boot device in current state: Booted" alert when the simulator is already booted

    Updated Jul 13, 2026
  • #2819

    Add ```react-native-screens``` native configs in Android during new app initialization

    feature requestUpdated Jul 8, 2026

> Tags

TypeScriptandroidclihacktoberfestios

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架