mapcn-react-native
Reference

CLI command reference

All seven mapcn-rn commands and their flags, in one place.

mapcn-rn init [--renderer maplibre|mapbox] [--provider maptiler|carto|custom|mapbox] [--all] [--components a,b] [--yes]
mapcn-rn add <component...> | --all [--overwrite] [--yes] [--renderer maplibre|mapbox]
mapcn-rn list
mapcn-rn diff [component]
mapcn-rn doctor [--json] [--verbose]
mapcn-rn provider <target> [--yes] [--force]
mapcn-rn migrate [--yes]
mapcn-rn --help
CommandPurposeDetail page
initSet up renderer, provider, mapcn.json, native config, and the components you pick.init
addInstall one or more registry components (or --all), resolving dependencies. Runs init first if the project has none.add
listShow every registry component and what's installed.list & diff
diffCompare installed files against their recorded hashes.list & diff
doctorRun 14 non-mutating project health checks.doctor
providerSwitch renderer and/or basemap provider, rewriting only adapter files.provider
migrateAssisted v1 → v2 upgrade.migrate

Global options

OptionDescription
--registry <url>Override the registry base URL (default https://mapcn-rn.dev/r). Accepts an https:// URL, a local directory, or a file:// path.
-h, --helpShow the command help text.

Configuration · Components index

On this page