@react-native/community-cli-plugin
Core CLI commands for React Native
Last updated 9 months ago by react-native-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @react-native/community-cli-plugin 
SYNC missed versions from official npm registry.

@react-native/community-cli-plugin

This is an internal dependency of React Native. Please don't depend on it directly.

CLI entry points supporting core React Native development features.

Formerly @react-native-community/cli-plugin-metro.

Commands

start

Start the React Native development server.

Usage

npx @react-native-community/cli start [options]

Options

Option Description
--port <number> Set the server port.
--host <string> Set the server host.
--projectRoot <path> Set the path to the project root.
--watchFolders <list> Specify additional folders to be added to the watch list.
--assetPlugins <list> Specify additional asset plugins.
--sourceExts <list> Specify additional source extensions to bundle.
--max-workers <number> Set the maximum number of workers the worker-pool will spawn for transforming files. Defaults to the number of the cores available on your machine.
--transformer <string> Specify a custom transformer.
--reset-cache Remove cached files.
--custom-log-reporter-path <string> Specify a module path exporting a replacement for TerminalReporter.
--https Enable HTTPS connections.
--key <path> Specify path to a custom SSL key.
--cert <path> Specify path to a custom SSL cert.
--config <string> Path to the CLI configuration file.
--no-interactive Disable interactive mode.
--client-logs [Deprecated] Enable plain text JavaScript log streaming for all connected apps.

bundle

Build the bundle for the provided JavaScript entry file.

Usage

npx @react-native-community/cli bundle --entry-file <path> [options]

Options

Option Description
--entry-file <path> Set the path to the root JavaScript entry file.
--platform <string> Set the target platform (either "android" or "ios"). Defaults to "ios".
--transformer <string> Specify a custom transformer.
--dev [boolean] If false, warnings are disabled and the bundle is minified. Defaults to true.
--minify [boolean] Allows overriding whether bundle is minified. Defaults to false if --dev is set. Disabling minification can be useful for speeding up production builds for testing purposes.
--bundle-output <string> Specify the path to store the resulting bundle.
--bundle-encoding <string> Specify the encoding for writing the bundle (https://nodejs.org/api/buffer.html#buffer_buffer).
--resolver-option <string...> Custom resolver options of the form key=value. URL-encoded. May be specified multiple times.
--sourcemap-output <string> Specify the path to store the source map file for the resulting bundle.
--sourcemap-sources-root <string> Set the root path for source map entries.
--sourcemap-use-absolute-path Report SourceMapURL using its full path.
--max-workers <number> Set the maximum number of workers the worker-pool will spawn for transforming files. Defaults to the number of the cores available on your machine.
--assets-dest <string> Specify the directory path for storing assets referenced in the bundle.
--reset-cache Remove cached files.
--read-global-cache Attempt to fetch transformed JS code from the global cache, if configured. Defaults to false.
--config <string> Path to the CLI configuration file.

Contributing

Changes to this package can be made locally and tested against the rn-tester app, per the Contributing guide. During development, this package is automatically run from source with no build step.

Current Tags

  • 0.74.89                                ...           0.74-stable (a year ago)
  • 0.75.5                                ...           0.75-stable (a year ago)
  • 0.76.9                                ...           0.76-stable (a year ago)
  • 0.77.3                                ...           0.77-stable (9 months ago)
  • 0.78.3                                ...           0.78-stable (9 months ago)
  • 0.79.7                                ...           0.79-stable (6 months ago)
  • 0.80.3                                ...           0.80-stable (3 months ago)
  • 0.81.6                                ...           0.81-stable (2 months ago)
  • 0.83.4                                ...           0.83-stable (a month ago)
  • 0.74.82                                ...           false (2 years ago)
  • 0.85.0                                ...           latest (3 days ago)
  • 0.85.0-rc.7                                ...           next (11 days ago)

175 Versions

  • 0.86.0-nightly-20260410-64002fbed                                ...           a day ago
  • 0.86.0-nightly-20260409-b1d12f535                                ...           2 days ago
  • 0.85.0                                ...           3 days ago
  • 0.85.0-rc.7                                ...           11 days ago
  • 0.85.0-rc.6                                ...           18 days ago
  • 0.85.0-rc.5                                ...           23 days ago
  • 0.85.0-rc.1                                ...           a month ago
  • 0.83.4                                ...           a month ago
  • 0.83.3                                ...           a month ago
  • 0.85.0-rc.0                                ...           a month ago
  • 0.84.1                                ...           a month ago
  • 0.84.0                                ...           2 months ago
  • 0.83.2                                ...           2 months ago
  • 0.81.6                                ...           2 months ago
  • 0.84.0-rc.5                                ...           2 months ago
  • 0.84.0-rc.4                                ...           2 months ago
  • 0.80.3                                ...           3 months ago
  • 0.84.0-rc.3                                ...           3 months ago
  • 0.84.0-rc.2                                ...           3 months ago
  • 0.84.0-rc.1                                ...           3 months ago
  • 0.84.0-rc.0                                ...           3 months ago
  • 0.83.1                                ...           4 months ago
  • 0.83.0                                ...           4 months ago
  • 0.83.0-rc.5                                ...           4 months ago
  • 0.83.0-rc.4                                ...           4 months ago
  • 0.83.0-rc.3                                ...           5 months ago
  • 0.83.0-rc.2                                ...           5 months ago
  • 0.83.0-rc.1                                ...           5 months ago
  • 0.83.0-rc.0                                ...           5 months ago
  • 0.81.5                                ...           6 months ago
  • 0.79.7                                ...           6 months ago
  • 0.82.1                                ...           6 months ago
  • 0.82.0                                ...           6 months ago
  • 0.82.0-rc.5                                ...           6 months ago
  • 0.82.0-rc.4                                ...           7 months ago
  • 0.82.0-rc.3                                ...           7 months ago
  • 0.82.0-rc.2                                ...           7 months ago
  • 0.81.4                                ...           7 months ago
  • 0.81.3                                ...           7 months ago
  • 0.81.2                                ...           7 months ago
  • 0.82.0-rc.1                                ...           7 months ago
  • 0.82.0-rc.0                                ...           7 months ago
  • 0.81.1                                ...           7 months ago
  • 0.79.6                                ...           8 months ago
  • 0.81.0                                ...           8 months ago
  • 0.81.0-rc.5                                ...           8 months ago
  • 0.81.0-rc.3                                ...           8 months ago
  • 0.80.2                                ...           9 months ago
  • 0.81.0-rc.2                                ...           9 months ago
  • 0.77.3                                ...           9 months ago
  • 0.81.0-rc.1                                ...           9 months ago
  • 0.78.3                                ...           9 months ago
  • 0.81.0-rc.0                                ...           9 months ago
  • 0.79.5                                ...           9 months ago
  • 0.80.1                                ...           9 months ago
  • 0.79.4                                ...           10 months ago
  • 0.80.0                                ...           10 months ago
  • 0.80.0-rc.5                                ...           10 months ago
  • 0.79.3                                ...           10 months ago
  • 0.80.0-rc.4                                ...           10 months ago
  • 0.80.0-rc.3                                ...           a year ago
  • 0.80.0-rc.2                                ...           a year ago
  • 0.80.0-rc.1                                ...           a year ago
  • 0.80.0-rc.0                                ...           a year ago
  • 0.79.2                                ...           a year ago
  • 0.79.1                                ...           a year ago
  • 0.79.0                                ...           a year ago
  • 0.76.9                                ...           a year ago
  • 0.78.2                                ...           a year ago
  • 0.79.0-rc.4                                ...           a year ago
  • 0.76.8                                ...           a year ago
  • 0.77.2                                ...           a year ago
  • 0.79.0-rc.3                                ...           a year ago
  • 0.78.1                                ...           a year ago
  • 0.79.0-rc.2                                ...           a year ago
  • 0.79.0-rc.1                                ...           a year ago
  • 0.79.0-rc.0                                ...           a year ago
  • 0.78.0                                ...           a year ago
  • 0.77.1                                ...           a year ago
  • 0.78.0-rc.5                                ...           a year ago
  • 0.78.0-rc.4                                ...           a year ago
  • 0.75.5                                ...           a year ago
  • 0.76.7                                ...           a year ago
  • 0.78.0-rc.3                                ...           a year ago
  • 0.78.0-rc.2                                ...           a year ago
  • 0.74.89                                ...           a year ago
  • 0.77.0                                ...           a year ago
  • 0.78.0-rc.1                                ...           a year ago
  • 0.77.0-rc.7                                ...           a year ago
  • 0.78.0-rc.0                                ...           a year ago
  • 0.76.6                                ...           a year ago
  • 0.77.0-rc.6                                ...           a year ago
  • 0.77.0-rc.5                                ...           a year ago
  • 0.77.0-rc.4                                ...           a year ago
  • 0.77.0-rc.3                                ...           a year ago
  • 0.77.0-rc.2                                ...           a year ago
  • 0.76.5                                ...           a year ago
  • 0.76.4                                ...           a year ago
  • 0.77.0-rc.1                                ...           a year ago
  • 0.77.0-rc.0                                ...           a year ago
  • 0.76.3                                ...           a year ago
  • 0.76.2                                ...           a year ago
  • 0.76.1                                ...           a year ago
  • 0.76.0                                ...           a year ago
  • 0.76.0-rc.6                                ...           a year ago
  • 0.76.0-rc.5                                ...           a year ago
  • 0.76.0-rc.4                                ...           2 years ago
  • 0.75.4                                ...           2 years ago
  • 0.74.88                                ...           2 years ago
  • 0.76.0-rc.3                                ...           2 years ago
  • 0.76.0-rc.2                                ...           2 years ago
  • 0.76.0-rc.1                                ...           2 years ago
  • 0.75.3                                ...           2 years ago
  • 0.76.0-rc.0                                ...           2 years ago
  • 0.75.2                                ...           2 years ago
  • 0.75.1                                ...           2 years ago
  • 0.75.0                                ...           2 years ago
  • 0.75.0-rc.7                                ...           2 years ago
  • 0.74.87                                ...           2 years ago
  • 0.76.0-nightly-20240801-TEMP                                ...           2 years ago
  • 0.76.0-nightly-20240731-TEMP                                ...           2 years ago
  • 0.74.86                                ...           2 years ago
  • 0.76.0-nightly-20240730-TEMP                                ...           2 years ago
  • 0.76.0-nightly-20240729-TEMP                                ...           2 years ago
  • 0.76.0-nightly-20240728-TEMP                                ...           2 years ago
  • 0.76.0-nightly-20240727-TEMP                                ...           2 years ago
  • 0.76.0-nightly-20240726-TEMP                                ...           2 years ago
  • 0.75.0-rc.6                                ...           2 years ago
  • 0.75.0-rc.5                                ...           2 years ago
  • 0.75.0-rc.4                                ...           2 years ago
  • 0.73.18                                ...           2 years ago
  • 0.74.85                                ...           2 years ago
  • 0.75.0-rc.3                                ...           2 years ago
  • 0.76.0-nightly-20240701-TEMP                                ...           2 years ago
  • 0.76.0-nightly-20240630-TEMP                                ...           2 years ago
  • 0.76.0-nightly-20240629-TEMP                                ...           2 years ago
  • 0.76.0-nightly-20240628-TEMP                                ...           2 years ago
  • 0.76.0-nightly-20240627-TEMP                                ...           2 years ago
  • 0.75.0-rc.2                                ...           2 years ago
  • 0.75.0-rc.1                                ...           2 years ago
  • 0.75.0-rc.0                                ...           2 years ago
  • 0.75.0-nightly-20240605-TEMP                                ...           2 years ago
  • 0.74.84                                ...           2 years ago
  • 0.74.83                                ...           2 years ago
  • 0.74.82                                ...           2 years ago
  • 0.74.81                                ...           2 years ago
  • 0.74.80                                ...           2 years ago
  • 0.74.79                                ...           2 years ago
  • 0.74.78                                ...           2 years ago
  • 0.74.77                                ...           2 years ago
  • 0.74.76                                ...           2 years ago
  • 0.74.75                                ...           2 years ago
  • 0.75.0-main                                ...           2 years ago
  • 0.74.5                                ...           2 years ago
  • 0.74.4                                ...           2 years ago
  • 0.74.2                                ...           2 years ago
  • 0.74.1                                ...           2 years ago
  • 0.73.17                                ...           2 years ago
  • 0.73.16                                ...           2 years ago
  • 0.73.15                                ...           2 years ago
  • 0.73.14                                ...           2 years ago
  • 0.73.13                                ...           2 years ago
  • 0.73.12                                ...           2 years ago
  • 0.73.11                                ...           2 years ago
  • 0.73.10                                ...           2 years ago
  • 0.73.9                                ...           2 years ago
  • 0.73.8                                ...           2 years ago
  • 0.73.7                                ...           2 years ago
  • 0.74.0                                ...           3 years ago
  • 0.73.6                                ...           3 years ago
  • 0.73.5                                ...           3 years ago
  • 0.73.4                                ...           3 years ago
  • 0.73.3                                ...           3 years ago
  • 0.73.2                                ...           3 years ago
  • 0.73.0                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 4
This Month 16
Last Day 3
Last Week 24
Last Month 56
Dependencies (8)
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |