The React Native CLI Has a New Home

Authors
Kacper Wiszczuk
Software Engineer
@
Callstack

If you keep your eyes close on what’s going on in React Native (and there’s so much going on!), you may have noticed that around two months ago the CLI (command line interface) has been extracted from the core repository into the separate GitHub module. The change should be completely transparent to the end users of React Native. You’ll likely never have to use this module manually — running yarn react-native will proxy directly to this module.

Extracting CLI out of core repo is a part of “Lean Core” effort and the reason we did it is simple: to move fast. As a part of this effort, we believe that CLI should be treated as a first-class citizen in the community and have a dedicated place.

Quickly after Mike Grabowski created a new community module out of it, a team of first contributors formed, including Ferran Negre, Michał Pierzchała and Kacper Wiszczuk. We would like to thank all of our contributors for submitting significant PRs and helping us make the release on time! ❤️

In the first release, we focused on quick-wins: fixing small, but bothersome bugs. At the same time, we are continuously working hard to improve the overall developer experience, working with native modules and to introduce an interface for bundlers.

We are extremely thrilled to release the results of our work under React Native 0.59, along with such important features like Hooks, Android 64-bit support and new JSC engine.

Highlights

We’ve accumulated quite a bunch of changes since the extraction. Here are the ones that stand out:

  • The project now follows semver;
  • Time to run a command dropped significantly — from 2.5s to 0.2s;
  • Logging is now prettier and unified (it’s an ongoing effort to improve it further though);
  • Fixed a dreaded CFBundleIdentifier issue (open for 2 years);
  • Fixed link command resulting in duplicate entries on Android;
  • Running react-native link without package name is now deprecated and will be removed in v2.0;
  • react-native dependencies command was moved to metro and is now deprecated;

You can see the full changelog here.

We’re thankful to Expo for helping us out in this effort — we appreciate the high quality of their tooling and cooperate together to apply the learnings to all React Native projects.

The future of React Native seems bright like never before and CLI is no exception to that. We hope you’ll join us on this journey.

Update:‍

New version of the React Native CLI is out with a lot of new features and fixes! Read more about what's new in React Native CLI 3.1.0 and 4.0.0 version!

As you can see, if you’re looking for a tech partner who not only uses technology, but actually creates it, you’ve come to the right place. We offer a variety of React Native development services to help you build the best digital product out there – check them out and give us a shout!

Insights

Learn more about Open Source

cover

Aug 7Article

Visualizing Open Source Licenses to Analyze Compliance and Reduce Legal Risk

Discover how license-kit visualize maps and analyzes your dependency graph, helping you spot license issues, duplicates, and restrictive packages with interactive views, stats, and AI-powered summaries.

cover

Mar 26Podcast

How Definitely Typed Changed TypeScript Forever

Discover the story behind Definitely Typed with its creator, Boris Yankov, and learn how it became essential for type-safe JavaScript in the TypeScript ecosystem.

cover

Oct 14Article

Introducing the OMH Cloud Storage Module

Discover the OMH Cloud Storage Module. This open-source solution simplifies cloud storage integration for React Native apps.

cover

Jul 12Article

Introduction to the React Native OMH Maps Library

Discover how the React Native OMH Maps library simplifies map integration with cross-platform compatibility, ease of use, and customization options.

cover

Apr 22Podcast

Behind the Scenes of React Native 0.74 Release

Join the release crew members to find out what new features and improvements React Native 0.74 brings to the cross-platform development world.

cover

Apr 27Podcast

Callstack OSS Update

April 2023 Callstack OSS Update: RFC for Expo Config Plugins, Re.Pack & Paper news.

cover

Dec 6Article

React Native Paper 5.0 - What’s New?

React Native Paper 5.0 is here! Dive into the latest updates and improvements.

cover

Feb 8Article

Stripe React Native: the Most Common Questions - Tipsi Migration Guide, Part 5

Check out the list of the most common questions about Stripe react Native Library prepared by Jakub Kłobus, software engineer at Callstack.

cover

Feb 6Article

Stripe React Native Migration Function by Function - Tipsi Migration Guide, Part 3

In the third part of the Tipsi Migration Guide we describe the Stripe React Native migration function by function.

cover

Mar 19Tutorial

The Hard Way vs. The React Native AI SDK Way: Stop Writing Custom Modules for Every Model

Learn how React Native AI uses a unified provider model to switch between cloud and on-device LLMs without rewriting application logic, enabling reliable AI experiences online and offline.

cover

Mar 12Tutorial

Build Smarter Apps: Tool Calling & AI Orchestration Explained

Learn how on-device models in React Native can call tools, interact with external APIs, and return structured outputs you can use directly in application logic.

cover

Mar 5Tutorial

MLC LLM + React Native: On-Device AI Without the Pain

Learn how to run third-party on-device LLMs in React Native using MLC LLM. Choose your models, run them efficiently across platforms, and keep a unified JavaScript API with React Native AI.

cover

Feb 24Tutorial

Intelligent Fallbacks with Apple Intelligence in React Native

Learn how to use Apple’s built-in Foundation Models in React Native apps, reduce memory usage, and enable fast, fully on-device AI with React Native AI Apple.

cover

Feb 10Tutorial

What Is the React Native AI SDK? A Complete Intro & Quickstart

Learn why on-device AI matters for React Native apps, how local LLMs behave offline, and what problems React Native AI is designed to solve from day one.

cover

Jan 29Tutorial

Implementing an Android TurboModule with Kotlin

Learn how to implement a React Native TurboModule on Android, from the TypeScript spec and Codegen to the Kotlin implementation and package registration.

cover

Jan 19Tutorial

Working with Different Threads in Swift TurboModules

Learn how JavaScript, native module, background, and main threads interact in React Native TurboModules, and how to use GCD queues to run async work safely in Swift.

cover

Jan 9Tutorial

How to Add Type-Safe Constants to Swift TurboModules

Learn how to expose typed, immutable constants from a Swift TurboModule using Codegen, and get full end-to-end type safety between native and JavaScript.

cover

Dec 30Tutorial

Adding Event Emitters to Your TurboModule in Swift

Learn how to emit native events from a Swift TurboModule and subscribe to them in JavaScript, including proper memory management and Codegen integration.

cover

Dec 22Tutorial

Writing Your First TurboModule in Swift

Learn how to build a fully working TurboModule in Swift, integrate it with Codegen, and bridge it through Objective‑C inside an Expo app.