Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
pnpmThe fastest way to install. It detects your OS, installs Node if needed, installs OpenClaw, and launches onboarding.
To install without running onboarding:
For all flags and CI/automation options, see Installer internals.
install-cli.shUse this when you want OpenClaw and Node kept under a local prefix such as
~/.openclawbashcurl -fsSL https://openclaw.ai/install-cli.sh | bash
It supports npm installs by default, plus git-checkout installs under the same prefix flow. Full reference: Installer internals.
Already installed? Switch between package and git installs with
openclaw update --channel devopenclaw update --channel stableIf you already manage Node yourself:
text<Note> pnpm requires explicit approval for packages with build scripts. Run `pnpm approve-builds -g` after the first install. </Note>
text<Note> Bun is supported for the global CLI install path. For the Gateway runtime, Node remains the recommended daemon runtime. </Note>
For contributors or anyone who wants to run from a local checkout:
bashgit clone https://github.com/openclaw/openclaw.git cd openclaw pnpm install && pnpm build && pnpm ui:build pnpm link --global openclaw onboard --install-daemon
Or skip the link and use
pnpm openclaw ...bashnpm install -g github:openclaw/openclaw#main
Containerized or headless deployments.
Rootless container alternative to Docker.
Declarative install via Nix flake.
Automated fleet provisioning.
CLI-only usage via the Bun runtime.
bashopenclaw --version # confirm the CLI is available openclaw doctor # check for config issues openclaw gateway status # verify the Gateway is running
If you want managed startup after install:
openclaw onboard --install-daemonopenclaw gateway installDeploy OpenClaw on a cloud server or VPS:
Any Linux VPS
Shared Docker steps
K8s
Fly.io
Hetzner
Google Cloud
Azure
Railway
Render
Northflank
Keep OpenClaw up to date.
Move to a new machine.
Remove OpenClaw completely.
openclawIf the install succeeded but
openclawbashnode -v # Node installed? npm prefix -g # Where are global packages? echo "$PATH" # Is the global bin dir in PATH?
If
$(npm prefix -g)/bin$PATH~/.zshrc~/.bashrcbashexport PATH="$(npm prefix -g)/bin:$PATH"
Then open a new terminal. See Node setup for more details.
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine