Skip to content

Setting Up Your OpenClaw Workspace

I know how it feels when you just want to start a project but get blocked by manual configuration. It is frustrating to spend time creating hidden folders and JSON files when you could be building. I prefer tools that handle the boilerplate for me so I can get straight to the work.

  • The OpenClaw CLI
  • Terminal access

I suggest using the setup command to prepare your environment. This command creates your ~/.openclaw/openclaw.json file and your agent workspace.

You can run the basic initialization with this command:

Terminal window
openclaw setup

If you want to use a specific directory for your agent workspace, use the workspace flag:

Terminal window
openclaw setup --workspace ~/.openclaw/workspace

I also recommend the wizard flag if you want a guided onboarding experience:

Terminal window
openclaw setup --wizard

This command ensures your configuration file is properly placed in your home directory.

If your agent workspace is not initialized or the ~/.openclaw/openclaw.json file is missing, run the setup command. This process creates the required configuration files and the workspace directory for you.

If you need more help with your environment, talk to the AI Setup Assistant.

OpenClaw

OpenClaw Expert

Still stuck?

If this page didn't answer your case, ask OpenClaw Expert for step-by-step guidance.