Packages

@react-native-community/cli

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

Your version

2.0.1

3 Jul 2019Where it was published

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 dependencies command

  • Breaking

    Remove eject command

  • Breaking

    Remove library command

  • Breaking

    link only assets by default; add --all flag 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 to unlink manually linked deps)

  • Improved logs, warnings and error messages

  • New init command

  • Documentation

Breaking Changes

  • Breaking

    Remove legacy core/findPlugins

  • Breaking

    Bump metro to 0.54.1

  • Breaking

    Remove dependencies command

  • Breaking

    Remove eject command

  • Breaking

    Remove library command

  • Breaking

    link only assets by default; add --all flag 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-ios and run-android when manually linked packages detected

  • Check ios-deploy installation before proceeding to build on device

  • Support platforms that ship with project

  • Refactor run-ios for readability and better error messages

  • Extract platform-specific commands out to platform packages

  • Infer package and project name for upgrade from config

  • Improve upgrade when patches fail to apply

  • Use logkitty to format android logs

  • Extract iOS and Android specific linking files out of the core

  • Make legacy link use new configuration

  • New init command (#241, #285, #292, #300, #320, #353, #357, #361, #362, #363, #364, #365, #386, #389, #390, #373)

  • Standardize configuration mechanism; new config command (#254, #295, #309, #333, #336, #341, #345, #395, #398, #378, #442, #436)

  • Upgrade envinfo for better output of info command

  • Support eslint in react native project template.

  • Only pass hasteImplModulePath if the hasteImpl file is available in RN

  • Notify of new major RN version at most once a week

  • Log error stacktrace by default

  • Add openURLMiddleware

  • Improve run-android error messages; rename "installDebug" -> "task"

  • Prevent unnecessary actions if android build failed

  • Pass along CLI port configuration for Android

  • Log console invocations to the terminal

Fixes

  • Open Metro in the correct terminal

  • Add new line to the help message

  • Resolve relative paths for reactNativePath

  • No 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.