Rate This Document
Findability
Accuracy
Completeness
Readability

Configuration and Verification

  1. Perform configuration setup when running OpenClaw for the first time.
    1. Open the configuration file.
      vim ~/.bashrc
    2. Press i to enter the insert mode and configure the following options:
      export OPENCLAW_STATE_DIR="/path/to/.openclaw"
      export OPENCLAW_CONFIG_PATH="/path/to/.openclaw/openclaw.json"
    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
    4. Apply the configuration changes.
      source ~/.bashrc
    5. Run the setup command again.
      openclaw setup --workspace /path/to/.openclaw/workspace

  2. Run the gateway.
    openclaw gateway

  3. Run the tui command to start the interaction.
    openclaw tui