rnx setup
rnx setup
rnx works without project setup. This guided flow explains and offers the strongly recommended background service, which keeps the bridge and runtime ready so agent inspection, interaction, and test commands start much faster. It also chooses Browser or the packaged Desktop app, keeps diagnostics private unless explicitly enabled, and can optionally add an exact rnxsim dependency plus an rnx script when the current directory is inside a Git repository. Declining the service is reversible with rnx daemon install.
Options
| flag | description |
|---|---|
--app <dir> | project directory to inspect (default: current directory) |
-y, --yes | accept recommended machine defaults without prompting |
--dry-run | show what setup would offer without changing files |
--service | --no-service | enable or decline the background service |
--desktop | --browser | choose the simulator window |
--analytics on|off | configure bounded diagnostics |
--repo | --no-repo | add or skip the optional repository install |
Examples
No Project Setup Required
Bare rnx works without changing the current project. On the first human run,
the guided flow:
- +explains and offers the strongly recommended background service
- +offers Browser or the packaged Desktop app, with platform download progress
- +opens ConnectRN before asking about diagnostics or repository changes
- +keeps diagnostics off unless the human explicitly opts in
- +only inside a Git repository with package.json, offers an exact dependency and script for teammates; this final choice defaults to no
Declining the service does not disable rnx. It uses an on-demand bridge instead.
Enable the faster service later with rnx daemon install. Re-run the optional
choices with rnx setup.