Setting Up OpenClaw for the First Time
Got OpenClaw running locally today. Here are the key steps that tripped me up:
-
Clone the repo and make sure you have the right Node.js version. The
.nvmrcfile has you covered if you usenvm. -
Environment variables are critical. Copy
.env.exampleto.envand fill in your API keys before doing anything else. -
First run will download model weights, so expect it to take a few minutes. Don’t kill the process early.
-
The debug flag (
--verbose) is your friend. It shows the full chain of reasoning which makes it much easier to understand what the agent is doing.
The docs are solid but assume some familiarity with agent frameworks. If you’re coming from a traditional web dev background like me, just take it one step at a time.