Install openclaw.ai on Ubuntu/Debian
The fastest way to install openclaw.ai! This guide covers Ubuntu 22.04/24.04/26.04 LTS and Debian 12/13.
📋 Prerequisites
Install Node.js
openclaw.ai requires Node.js 22.22.3+, 24.15+, or 25.9+ (installer defaults to Node 26).
# Install supported Node.js version
curl -fsSL https://deb.nodesource.com/setup_26.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.22.3+, 24.15+, or 25.9+ (installer defaults to Node 26). 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?