Host Files and State
NemoClaw stores host-side configuration, registry metadata, operational state, transient install state, and local backups under ~/.nemoclaw/.
Managed local inference profiles also use the cache paths listed on this page.
Use this page when you need to identify what a file does before deleting, backing up, or sharing diagnostics.
The default OpenShell gateway stores managed llama.cpp state under ~/.nemoclaw/managed-llama-cpp/.
A non-default gateway port stores the same files under ~/.nemoclaw/gateways/<port>/managed-llama-cpp/.
Do not paste a legacy credentials.json, provider tokens, bot tokens, proxy tokens, local inference API keys, or debug archives containing them into chat or issue comments.
Share redacted diagnostics only.
Files
Unless a row says otherwise, full-uninstall removal behavior in this table applies outside portable cleanup.
Earlier releases can store the dual-Station runtime receipt and its SSH-binding directory under ~/.nemoclaw/gateways/<port>/ when the managed pair was created from a non-default gateway port.
The API key remains host-global at ~/.nemoclaw/dual-station-vllm-api-key.
Current releases discover and validate the legacy receipt location without moving or duplicating its ownership state.
Do not move these files or directories manually.
sandboxes.json is the current registry file name.
If you see registry.json in older tests, notes, or discussions, treat it as legacy wording for the sandbox registry unless a specific release note says otherwise.
Malformed Registry File
A sandboxes.json file that is present but does not contain valid JSON stops registry operations that require complete sandbox records, such as nemohermes list and nemohermes onboard.
NemoClaw reports the file path and the recovery commands instead of reading the file as an empty registry.
These operations cannot replace your sandbox records with empty state.
Optional messaging health checks omit registry-derived information when they cannot read the registry.
NemoClaw does not rename, move, or rewrite the file.
Removing sandboxes.json makes the host forget its registered sandboxes.
Keep the copy until those sandboxes are registered again.
Copy the file, then remove it:
On a non-default gateway port, use the matching ~/.nemoclaw/gateways/<port>/sandboxes.json path.
Run the command again.
Run nemohermes onboard to register a sandbox again.
Directories
Migration Snapshot Retention
Before NemoClaw retains a migration snapshot, it recursively sanitizes the copied OpenClaw state and every configured external root.
It preserves empty or comment-only YAML files and omits copied JSON, YAML, or .env files that it cannot sanitize.
If NemoClaw cannot remove an unsafe copied artifact, snapshot creation fails and attempts to delete the incomplete snapshot directory.
Sanitization requires python3 on a POSIX host so every traversal and mutation can remain anchored to opened directory descriptors.
It fails closed if a copied file or parent directory changes identity during sanitization.
The direct blueprint runner accepts these action arguments for migration snapshots:
These fragments are not standalone shell commands, and the host nemoclaw CLI does not expose them.
An integration that invokes the direct runner can use snapshots list first to inspect the available timestamped copies.
snapshots prune keeps the requested number of newest snapshots; --keep 0 removes all of them.
snapshots delete accepts only one timestamped directory directly under ~/.nemoclaw/snapshots/.
Both deletion commands are irreversible: they do not modify a running sandbox, but they remove host state that could otherwise be used for rollback or restore.
Snapshot sanitization and deletion require python3 on a POSIX host.
Listing works on native Windows, but migration snapshot creation and deletion do not; use WSL for those operations on Windows.
Uninstall Behavior
Outside portable cleanup, nemohermes uninstall --yes removes active NemoClaw runtime resources but preserves the user data needed for recovery by default.
Preserved entries include rebuild-backups/, backups/, and sandboxes.json.
Preserved sandboxes.json records are not automatically recoverable after reinstall, because uninstall removes the gateway registration, provider registrations, and Docker image they reference; uninstall warns about this at preserve time, and a later reinstall reports such records as not found on their recorded gateway with nemohermes <name> destroy / nemohermes onboard remediation.
Interactive uninstall prompts before removing preserved state.
For non-interactive runs, pass --destroy-user-data only when you accept losing local registry metadata and backups.
Uninstall scopes cleanup to one gateway port: it operates on the selected state root and leaves every other ~/.nemoclaw/gateways/<port>/ root and its gateway in place.
It names the environments it left behind and prints the command that removes one of them.
Pass --all-gateway-ports, or set NEMOCLAW_UNINSTALL_ALL_GATEWAY_PORTS=1, to remove every gateway port in one run.
Outside portable cleanup, the shared host state is eligible for removal only when --keep-openshell is absent, no port fails or survives, and the selected gateway is not externally supervised.
Portable cleanup instead retires only exact receipt-owned portable resources. It preserves model stores, Podman images, shared OpenShell providers and gateway registrations, the gateway service and process, and shared OpenShell binaries and configuration. It retains ~/.nemoclaw/portable-uninstall-retirement.json even with --destroy-user-data so a retry or later completed onboarding can finish recovery.
Before full uninstall deletes shared state, it removes only an exact authenticated host-local vLLM container and exact NemoClaw-owned llama.cpp container and network.
Catalog-selected host-local vLLM also requires its exact owner-only runtime receipt; legacy authenticated containers without catalog profile labels retain their existing cleanup behavior.
It refuses the remaining uninstall steps when Docker is unavailable or persisted ownership cannot be proved.
Resolve the reported Docker or ownership error and rerun uninstall with the state still present.
The shared Hugging Face cache used by managed vLLM and managed llama.cpp remains in place by default.
Outside portable cleanup, --delete-models deletes every model in the local Ollama inventory and all non-credential data in the current user’s shared Hugging Face cache.
The flag can delete cached files that other applications installed or use.
It preserves the Hugging Face token and stored_tokens authentication files.
NemoClaw deletes the non-credential cache data only after managed model runtimes stop and only when no sibling gateway remains.
An Ollama inventory error, model deletion error, unsafe cache path, or cache-data deletion error makes uninstall exit nonzero.
For operational uninstall steps, refer to: