@react-native-community/cli
21.0.0 · 12 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
2.10.0 is the newest release of 2.x.
In short
7 breaking28 new3 fixed12 internal
- Breaking
Remove legacy
core/findPlugins - Breaking
Bump metro to 0.54.1
- Breaking
Remove
dependenciescommand - Breaking
Remove
ejectcommand - Breaking
Remove
librarycommand - Breaking
linkonly assets by default; add--allflag with legacy behavior - Breaking
Rename "installDebug" -> "task" in
run-android
Release note
Stable 2.0 is here and it comes with many improvements 🚀.
Highlights
Compatibility with React Native 0.60+
Autolinking for iOS and Android - no more
react-native link(make sure tounlinkmanually linked deps)Improved logs, warnings and error messages
New
initcommand
Breaking Changes
- Breaking
Remove legacy
core/findPlugins - Breaking
Bump metro to 0.54.1
- Breaking
Remove
dependenciescommand - Breaking
Remove
ejectcommand - Breaking
Remove
librarycommand - Breaking
linkonly assets by default; add--allflag with legacy behavior - Breaking
Rename "installDebug" -> "task" in
run-android
Features
Autolinking for Android with Gradle (#258, #339, #340, #407, #384, #451, #457, #449, #439, #435)
Autolinking for iOS with CocoaPods(#256, #331, #355, #354, #355, #384, #393, #451, #449, #428)
Add warnings for
run-iosandrun-androidwhen manually linked packages detectedCheck
ios-deployinstallation before proceeding to build on deviceSupport platforms that ship with project
Refactor
run-iosfor readability and better error messagesExtract platform-specific commands out to platform packages
Infer package and project name for
upgradefrom configImprove
upgradewhen patches fail to applyUse
logkittyto format android logsExtract iOS and Android specific linking files out of the core
Make legacy
linkuse new configurationNew
initcommand (#241, #285, #292, #300, #320, #353, #357, #361, #362, #363, #364, #365, #386, #389, #390, #373)Standardize configuration mechanism; new
configcommand (#254, #295, #309, #333, #336, #341, #345, #395, #398, #378, #442, #436)Upgrade envinfo for better output of
infocommandSupport
eslintin react native project template.Only pass
hasteImplModulePathif thehasteImplfile is available in RNNotify of new major RN version at most once a week
Log error stacktrace by default
Add openURLMiddleware
Improve
run-androiderror messages; rename "installDebug" -> "task"Prevent unnecessary actions if android build failed
Pass along CLI port configuration for Android
Log
consoleinvocations to the terminal
Fixes
Open Metro in the correct terminal
Add new line to the help message
Resolve relative paths for
reactNativePathNo active iOS device case in
logIOS
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.