Install openclaw.ai on Ubuntu/Debian
The fastest way to install openclaw.ai! This guide covers Ubuntu 20.04/22.04/24.04 and Debian 11/12.
📋 Prerequisites
Install Node.js
openclaw.ai requires Node.js 22 or higher.
# Install Node.js 22
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
Install openclaw.ai
Run the official installation script:
curl -fsSL https://openclaw.ai/install.sh | bash
Initialize & Onboard
Start the onboarding wizard to configure your agent:
openclaw onboard --install-daemon
Verify Installation
openclaw --version
🔧 Troubleshooting
Solution: The install script adds openclaw to your PATH. Restart
your terminal or run:
source ~/.bashrc or source ~/.zshrc
Solution: openclaw.ai requires Node.js 22+. Check your version with
node --version and reinstall using Step 1 if needed.
Solution: Run openclaw doctor to diagnose configuration
issues. Check if the daemon is running with
systemctl --user status openclaw-gateway
Was this tutorial helpful?