[ Documentation ]
rnx storage

rnx storage

rnx storage

Clear the current guest app’s local storage through the live reload bridge, or manage persistent storage profiles for Electron and Playwright launches. Profiles isolate cookies, localStorage, IndexedDB, cache, permissions, and service workers. Selecting a profile creates a fresh managed sim because storage identity is fixed at launch.

terminal
rnx storage clear [--sim <id>] [--json]
rnx storage profile list
rnx storage profile create <id>
rnx storage profile clear <id>
rnx storage profile delete <id>

Options

flagdescription
--sim <id>target a specific connected sim for storage clear
--jsonemit { cleared, ready, reload } for storage clear
<id>profile id: letters, numbers, dot, dash, or underscore

Examples

terminal
rnx storage clear
rnx storage clear --sim a9 --json
rnx storage profile list
rnx storage profile create qa
rnx open 8081 --profile qa --driver playwright
rnx storage profile clear qa

Two Kinds Of Storage

storage clear targets the guest app in the current sim: localStorage, sessionStorage, secure-store, and IndexedDB are cleared through the live reload bridge.

storage profile manages persistent launch profiles used by Electron and Playwright. Profiles isolate browser storage at window/context creation time, so opening with --profile <id> always creates a fresh isolated sim.