Packages

@react-native-community/cli

21.0.0 · 12 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed

Your version

12.0.0

major31 Oct 2023Where it was published

12.3.7 is the newest release of 12.x.

In short

8 breaking1 removed25 new2 faster43 fixed47 internal

  • Breaking

    Change default taskPrefix in build-android command from assemble to bundle

  • Breaking

    Update Node minimum version to 18

  • Breaking

    Fix ability to override commands via config

  • Breaking

    Remove fallback flow for Metro config defaults (0.73)

  • Breaking

    Remove --configuration option from build/run-ios

  • Breaking

    Remove --variant option from run/build-android command

  • Breaking

    Delete source for cli-plugin-metro, remove from builtin commands

  • Breaking

    Remove unreferenced utils from cli-tools

Release note

This version of React Native CLI targets React Native 0.73 and includes numerous bug fixes, features and performance improvements.

Breaking changes

  • Breaking

    Change default taskPrefix in build-android command from assemble to bundle

  • Breaking

    Update Node minimum version to 18

  • Breaking

    Fix ability to override commands via config

  • Breaking

    Remove fallback flow for Metro config defaults (0.73)

  • Breaking

    Remove --configuration option from build/run-ios

    • Migration: Use --mode instead

  • Breaking

    Remove --variant option from run/build-android command

    • Migration: Use --mode instead

  • Breaking

    Delete source for cli-plugin-metro, remove from builtin commands

  • Breaking

    Remove unreferenced utils from cli-tools

Performance

  • Move pods installation from init to ios-specific commands

    • force Pods installation by passing: --force-pods

  • Remove Gradle task check on run-android

Fixes

  • Move launchPackager files into src/

  • Drop @react-native/metro-config dep for RN 0.72 config fallback

  • Change permission in launchPackager.command when building packages

  • Add missing arguments to adb shell in run-android command

  • Delete com. prefix in package name

  • Str.replace not a function issue

  • Trim whitespace in parseTasksFromGradleFile on Windows

  • Add missing argument to xcodebuild shell (destination)

  • --verbose option not working for run-ios

  • Always add --verbose to the command

  • Fix Xcode defaulting to 'Release'

  • Add logger to doctor unhandled errors

  • Potential EEXIST error when iOS asset catalog dir already exists

  • Remove @ts-ignore in cli-plugin-metro

  • Init when there's a package.json in folder

  • Resolver.resolveRequest is always undefined

  • Removed

    Remove useless check in upgrade command

  • "Multiple Podfiles were found" due to vendor inclusion

  • Doclinks should not select a default platform

  • Add flipper protocol support

  • Allow DevTools to connect

  • Ignore Pods and Hermes files when looking for AndroidManifest

  • Fix : Getting rid of duplicate gradle error messages

  • Adjust doctor command to work with custom ios/ folder location

  • Use none as platform for printing upgrading link

  • Fix loading Metro config from alternative config path

  • Ensure bundle destination directory exist

  • Does not override user-defined reporter

  • Prevent booting already booted simulators

  • Change request response in /status endpoint

  • Fix crash when --mode is specified

  • Adjust wording for dev server port taken messages

  • Get only tasks for passed type

  • Improve providing project name in init command

  • Add missing --force-pods flag for run-ios and build-ios

  • Restore simulator, device, and UDID args on run-ios command

  • Creating cache for scoped packages

  • Avoid chmod on read stream close

  • Add 'code-insiders' to launchEditor

  • Add missing shebang to launchPackager.command

  • Skip pods installation when it's already installed

  • Properly handle errors

  • Remove hardcoded path to iOS folder

  • Install pods on ios-commands with New Arch

  • Workaround JSON.stringify failing on large arrays with the error…

  • Get scheme from xcodeProject name

  • Fallback first to yarn when bun not available

  • Do not ask for port change when --no-packager provided

  • Add missing dependency

  • Remove eslint warnings

  • Check if there are any available simulators or physical devices

  • Force users to use nodeLinker: node-modules when installing template packages

Features

  • Only show --verbose flag if there are hidden logs

  • Added --user flag to run-android command

  • Add --target option

  • Add watchModeCommandParams to react-native.config.js

  • Add packager healthcheck to report if packager is running correctly

  • Update doctor to reflect Java >= 17

  • Enable pausing handling keystrokes in watch mode

  • Add invoking CLI's scripts for launching Metro in run-ios command

  • Read main activity from AndroidManifest.xml automatically

  • Extract android applicationId

  • Add Bun to init command

  • Upgrade Android Studio version when installing on Windows

  • Adjust healthchecks based on where command was ran

  • Handle better canceling prompts

  • Update section related to updating CLI

  • Create git repository in init command

    • Disable by passing: --create-git-repo false

  • opt-in pod install with ios commands

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.