Socket
Socket
Sign inDemoInstall

@react-native-community/cli

Package Overview
Dependencies
201
Maintainers
1
Versions
280
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli

React Native CLI


Version published
Maintainers
1
Weekly downloads
1,825,620
decreased by-11.96%

Weekly downloads

Package description

What is @react-native-community/cli?

The @react-native-community/cli package is a command-line tool that provides a set of tools to manage and automate tasks in React Native applications. It is designed to streamline the process of initializing, developing, and testing React Native apps. It offers functionalities such as starting a development server, linking native dependencies, and more.

What are @react-native-community/cli's main functionalities?

Initializing a new React Native project

This command sets up a new React Native project named 'AwesomeProject'. It creates a directory with the project name, installs the necessary dependencies, and sets up a basic React Native project structure.

npx react-native init AwesomeProject

Running the React Native application

These commands are used to compile and run your React Native app on Android and iOS devices or emulators. 'run-android' targets Android devices, while 'run-ios' targets iOS devices.

npx react-native run-android
npx react-native run-ios

Linking native dependencies

This command automatically links native dependencies in your project. It scans the project for native modules and configures them for use with React Native, simplifying the manual linking process.

npx react-native link

Other packages similar to @react-native-community/cli

Readme

Source

React Native CLI

Command line tools to interact with React Native projects.

This package contains source code for @react-native-community/cli, the actual CLI that comes bundled with React Native. You don't need to install it separately in your project.

See the list of available commands.

FAQs

Last updated on 27 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc