{"id":13710127,"url":"https://github.com/react-native-community/cli","last_synced_at":"2026-01-07T13:21:54.137Z","repository":{"id":38084210,"uuid":"150330224","full_name":"react-native-community/cli","owner":"react-native-community","description":"The React Native Community CLI - command line tools to help you build RN apps","archived":false,"fork":false,"pushed_at":"2025-05-07T17:54:51.000Z","size":14003,"stargazers_count":2601,"open_issues_count":45,"forks_count":914,"subscribers_count":47,"default_branch":"main","last_synced_at":"2025-05-12T02:43:20.175Z","etag":null,"topics":["android","cli","hacktoberfest","ios","javascript","npm","react-native","typescript","yarn"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/react-native-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-09-25T21:15:26.000Z","updated_at":"2025-05-12T02:33:46.000Z","dependencies_parsed_at":"2023-09-27T01:06:24.744Z","dependency_job_id":"5e7ddc31-24d9-448f-bf47-3dba24f084f3","html_url":"https://github.com/react-native-community/cli","commit_stats":{"total_commits":2561,"total_committers":583,"mean_commits":4.392795883361921,"dds":0.8324873096446701,"last_synced_commit":"aa981e8583fa8ef980cd5a0b7fad008c3cdd008f"},"previous_names":["react-native-community/react-native-cli"],"tags_count":357,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-community%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-community%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-community%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-community%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-native-community","download_url":"https://codeload.github.com/react-native-community/cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253672696,"owners_count":21945480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","cli","hacktoberfest","ios","javascript","npm","react-native","typescript","yarn"],"created_at":"2024-08-02T23:00:52.120Z","updated_at":"2026-01-07T13:21:54.131Z","avatar_url":"https://github.com/react-native-community.png","language":"TypeScript","readme":"# React Native Community CLI\n\nCommand line tools that help you build apps with [`react-native`](https://github.com/facebook/react-native), shipped as the `@react-native-community/cli` NPM package.\n\n[![Build Status][build-badge]][build] [![Version][version-badge]][package] [![MIT License][license-badge]][license] [![PRs Welcome][prs-welcome-badge]][prs-welcome] [![Lean Core Extracted][lean-core-badge]][lean-core]\n\n_Note: CLI has been extracted from core `react-native` as a part of \"[Lean Core](https://github.com/facebook/react-native/issues/23313)\" effort. Please read [this blog post](https://www.callstack.com/blog/the-react-native-cli-has-a-new-home) for more details._\n\n## Contents\n\n- [Compatibility](#compatibility)\n- [Documentation](#documentation)\n- [About](#about)\n- [Creating a new React Native project](#creating-a-new-react-native-project)\n- [Usage in an existing React Native project](#usage-in-an-existing-react-native-project)\n- [Updating the CLI](#updating-the-cli)\n- [Maintainers](#maintainers)\n- [License](#license)\n\n## Compatibility\n\nOur release cycle is independent of `react-native`. We follow semver and here is the compatibility table:\n\n| `@react-native-community/cli`                                      | `react-native`            |\n| ------------------------------------------------------------------ | ------------------------- |\n| [^20.0.0](https://github.com/react-native-community/cli/tree/main) | ^0.81.0, ^0.82.0          |\n| [^19.0.0](https://github.com/react-native-community/cli/tree/19.x) | ^0.80.0                   |\n| [^18.0.0](https://github.com/react-native-community/cli/tree/18.x) | ^0.79.0                   |\n| [^15.0.0](https://github.com/react-native-community/cli/tree/15.x) | ^0.76.0, ^0.77.0, ^0.78.0 |\n| [^14.0.0](https://github.com/react-native-community/cli/tree/14.x) | ^0.75.0                   |\n| [^13.0.0](https://github.com/react-native-community/cli/tree/13.x) | ^0.74.0                   |\n| [^12.0.0](https://github.com/react-native-community/cli/tree/12.x) | ^0.73.0                   |\n| [^11.0.0](https://github.com/react-native-community/cli/tree/11.x) | ^0.72.0                   |\n| [^10.0.0](https://github.com/react-native-community/cli/tree/10.x) | ^0.71.0                   |\n| [^9.0.0](https://github.com/react-native-community/cli/tree/9.x)   | ^0.70.0                   |\n| [^8.0.0](https://github.com/react-native-community/cli/tree/8.x)   | ^0.69.0                   |\n| [^7.0.0](https://github.com/react-native-community/cli/tree/7.x)   | ^0.68.0                   |\n| [^6.0.0](https://github.com/react-native-community/cli/tree/6.x)   | ^0.65.0,^0.66.0,^0.67.0   |\n| [^5.0.0](https://github.com/react-native-community/cli/tree/5.x)   | ^0.64.0                   |\n| [^4.0.0](https://github.com/react-native-community/cli/tree/4.x)   | ^0.62.0,^0.63.0           |\n| [^3.0.0](https://github.com/react-native-community/cli/tree/3.x)   | ^0.61.0                   |\n| [^2.0.0](https://github.com/react-native-community/cli/tree/2.x)   | ^0.60.0                   |\n| [^1.0.0](https://github.com/react-native-community/cli/tree/1.x)   | ^0.59.0                   |\n\n## Documentation\n\n- [configuration](./docs/configuration.md)\n- [commands](./docs/commands.md)\n- [plugins](./docs/plugins.md)\n- [init](./docs/init.md)\n- [autolinking](./docs/autolinking.md)\n\n## About\n\nThis monorepository contains tools and helpers for React Native projects in form of a Command Line Tool (or CLI). This CLI is used directly by the `react-native` package and is not intended for use directly. We update it independently of React Native itself.\n\n## Creating a new React Native project\n\nRun the following command in your terminal prompt:\n\n```sh\nnpx @react-native-community/cli@latest init MyApp\n```\n\n## Usage in an existing React Native project\n\nOnce you're inside an existing project, you can run a series of commands to interact with your projects by using the `rnc-cli` binary.\n\nExample running `start` command in terminal:\n\n```sh\nyarn rnc-cli start\n```\n\nYou can also add npm scripts to call it with whichever package manager you use:\n\n```json\n{\n  \"scripts\": {\n    \"start\": \"rnc-cli start\"\n  }\n}\n```\n\nto call it as\n\n```sh\nyarn start\n```\n\n## Updating the CLI\n\n\u003e [!WARNING]\n\u003e Please do it only if you need to. We don't recommend updating CLI independently of `react-native` as it may cause unexpected issues.\n\nReact Native CLI is a dependency of `react-native`, which makes it a transitive dependency of your project. You can overwrite the version independently of `react-native` by using `resolutions` field in your `package.json`:\n\n```json\n{\n  \"resolutions\": {\n    \"@react-native-community/cli\": \"VERSION\",\n    \"@react-native-community/cli-clean\": \"VERSION\",\n    \"@react-native-community/cli-config\": \"VERSION\",\n    \"@react-native-community/cli-doctor\": \"VERSION\",\n    \"@react-native-community/cli-link-assets\": \"VERSION\",\n    \"@react-native-community/cli-platform-android\": \"VERSION\",\n    \"@react-native-community/cli-platform-ios\": \"VERSION\",\n    \"@react-native-community/cli-server-api\": \"VERSION\",\n    \"@react-native-community/cli-tools\": \"VERSION\",\n    \"@react-native-community/cli-types\": \"VERSION\"\n  }\n}\n```\n\n## Maintainers\n\n- Michał Pierzchała ([**@thymikee**](https://github.com/thymikee)) - [Callstack](https://callstack.com)\n- Alex Hunt ([**@huntie**](https://github.com/huntie)) - [Meta](https://meta.com)\n\nPreviously:\n\n- Szymon Rybczak ([**@szymonrybczak**](https://github.com/szymonrybczak))\n- Mike Grabowski ([**@grabbou**](https://github.com/grabbou)) - [Callstack](https://callstack.com)\n- Kacper Wiszczuk ([**@esemesek**](https://github.com/esemesek)) - [Callstack](https://callstack.com)\n- Adam Trzciński ([**@adamTrz**](https://github.com/adamTrz)) - [Callstack](https://callstack.com)\n\n## License\n\nEverything inside this repository is [MIT licensed](./LICENSE).\n\n\u003c!-- badges --\u003e\n\n[build-badge]: https://img.shields.io/github/actions/workflow/status/react-native-community/cli/test.yml?branch=main\u0026style=flat-square\n[build]: https://github.com/react-native-community/cli/actions/workflows/test.yml\n[version-badge]: https://img.shields.io/npm/v/@react-native-community/cli.svg?style=flat-square\n[package]: https://www.npmjs.com/package/@react-native-community/cli\n[license-badge]: https://img.shields.io/npm/l/@react-native-community/cli.svg?style=flat-square\n[license]: https://opensource.org/licenses/MIT\n[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs-welcome]: http://makeapullrequest.com\n[lean-core-badge]: https://img.shields.io/badge/Lean%20Core-Extracted-brightgreen.svg?style=flat-square\n[lean-core]: https://github.com/facebook/react-native/issues/23313\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-community%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-native-community%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-community%2Fcli/lists"}