How to Set Up OpenClaw on Your VPS in Minutes
You can deploy OpenClaw on your VPS using the official documentation and your preferred installation path. A typical setup flow looks like this:
Before running any commands, check that your hardware matches or exceeds these specs. Using a weaker VPS may cause the installation to fail or lead to slow performance.
Start by refreshing your local package index and upgrading existing software to the latest versions. This prevents conflicts during the installation.
sudo apt update && sudo apt upgrade -y
Tip: Install Node.js v22 via nodejs.org or use nvm for version management.
The official script pulls the latest version and sets up the file structure automatically.
curl -fsSL https://openclaw.ai/install.sh | bash
Edit the generated config file with your API keys and preferences.
nano ~/.openclaw/config.json
Start OpenClaw and enable it to run on boot with systemd.
sudo systemctl enable --now openclaw
Verify it's running:
sudo systemctl status openclawDone! OpenClaw should now be accessible at your server's IP on port 3000.






