@react-native-community/cli
21.0.0 · 12 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
12.3.7 is the newest release of 12.x.
In short
8 breaking1 removed25 new2 faster43 fixed47 internal
- Breaking
Change default
taskPrefixinbuild-androidcommand fromassembletobundle - 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
--configurationoption frombuild/run-ios - Breaking
Remove
--variantoption fromrun/build-androidcommand - 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
taskPrefixinbuild-androidcommand fromassembletobundle - 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
--configurationoption frombuild/run-iosMigration: Use
--modeinstead
- Breaking
Remove
--variantoption fromrun/build-androidcommandMigration: Use
--modeinstead
- Breaking
Delete source for
cli-plugin-metro, remove from builtin commands - Breaking
Remove unreferenced utils from
cli-tools
Performance
Move pods installation from
initto ios-specific commandsforce 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.commandwhen building packagesAdd missing arguments to
adb shellinrun-androidcommandDelete
com.prefix in package nameStr.replace not a function issue
Trim whitespace in
parseTasksFromGradleFileon WindowsAdd missing argument to xcodebuild shell (destination)
--verboseoption not working forrun-iosAlways add
--verboseto the commandFix Xcode defaulting to 'Release'
Add logger to doctor unhandled errors
Potential EEXIST error when iOS asset catalog dir already exists
Remove
@ts-ignoreincli-plugin-metroInit when there's a package.json in folder
Resolver.resolveRequest is always undefined
- Removed
Remove useless check in
upgradecommand "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
doctorcommand to work with customios/folder locationUse
noneas platform for printing upgrading linkFix 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
/statusendpointFix crash when
--modeis specifiedAdjust wording for dev server port taken messages
Get only tasks for passed type
Improve providing project name in
initcommandAdd missing
--force-podsflag forrun-iosandbuild-iosRestore simulator, device, and UDID args on
run-ioscommandCreating cache for scoped packages
Avoid chmod on read stream close
Add 'code-insiders' to launchEditor
Add missing shebang to
launchPackager.commandSkip 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
xcodeProjectnameFallback first to
yarnwhenbunnot availableDo not ask for port change when
--no-packagerprovidedAdd missing dependency
Remove eslint warnings
Check if there are any available simulators or physical devices
Force users to use
nodeLinker: node-moduleswhen installing template packages
Features
Only show --verbose flag if there are hidden logs
Added --user flag to run-android command
Add
--targetoptionAdd
watchModeCommandParamstoreact-native.config.jsAdd 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-ioscommandRead main activity from
AndroidManifest.xmlautomaticallyExtract android applicationId
Add Bun to
initcommandUpgrade 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
initcommandDisable 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.