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

- Open the configuration file.
- Configure the AI models in openclaw.json with reference to the recommended templates from the official documentation. Once configured, run gateway:
openclaw gateway

- Run the tui command to start the interaction.
openclaw tui
Parent topic: Solution 2: Deploying OpenClaw on a cVM