mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-27 17:31:53 +07:00
2.0 KiB
2.0 KiB
summary, read_when, title
| summary | read_when | title | ||
|---|---|---|---|---|
| Create, inspect, import, clone, doctor, and delete managed OpenClaw profiles |
|
profile |
openclaw profile
Use openclaw profile to manage first-class OpenClaw profiles.
Managed profiles live under:
~/.openclaw/profiles/<id>/
profile.json
config/openclaw.json
state/
workspace/
--profile <id> selects a profile at runtime. --dev is an alias for the dev profile.
Commands
openclaw profile listopenclaw profile get <id>openclaw profile paths <id>openclaw profile create <id>openclaw profile clone <source> <id>openclaw profile import <id>openclaw profile doctor <id>openclaw profile delete <id> --yes
Common flows
Create an empty managed profile:
openclaw profile create rescue
openclaw --profile rescue setup
Adopt an existing legacy profile without changing its config/state/workspace behavior:
openclaw profile import rescue
Clone a profile into a fresh isolated instance:
openclaw profile clone main rescue
Clone preserves durable config and credentials, allocates a fresh workspace and runtime identity, and excludes ephemeral runtime artifacts by default.
Notes
profile importis for behavior-preserving legacy adoption.profile cloneis for creating a new isolated runtime instance.profile deleteonly removes managed profile roots and refuses live profiles unless you pass--force.- If you previously installed the gateway with
openclaw --profile default gateway install, upgrade by uninstalling that older service instance before reinstalling with the new build. Older explicit-defaultinstalls used the unscoped gateway service label/name, while the managed profile system gives explicitdefaultits own service identity. - For multi-gateway deployment guidance, see Multiple Gateways.