De Zéro à Assistant IA en 5 Minutes
Choisissez votre plateforme et suivez les étapes. Vous discuterez avec votre IA en un rien de temps.
Installation sur macOS
La méthode la plus rapide pour commencer. Nécessite Node.js 18+.
Installer OpenClaw
npm install -g openclaw Exécuter l'Assistant de Configuration
Cela vous guidera à travers la configuration des clés API et les paramètres de base.
openclaw init Démarrer la Passerelle
La passerelle est le service en arrière-plan d'OpenClaw qui gère toutes les connexions.
openclaw gateway start Dites Bonjour !
openclaw chat "Hello! What can you do?" Installation sur Windows
OpenClaw fonctionne très bien sur Windows via WSL2 (recommandé) ou Node.js natif.
Configurer WSL2 (Recommandé)
Si WSL2 n'est pas installé, ouvrez PowerShell en tant qu'administrateur et exécutez :
wsl --install Redémarrez votre ordinateur après l'installation.
Installer Node.js dans WSL
Ouvrez votre terminal WSL (Ubuntu) et installez Node.js :
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs Installer OpenClaw
npm install -g openclaw Initialiser et Démarrer
openclaw init
openclaw gateway start
openclaw chat "Hello!" Installation sur Linux
Fonctionne sur n'importe quelle distribution avec Node.js 18+. Parfait pour les serveurs !
Installer Node.js (si nécessaire)
"comment"># Ubuntu/Debian
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
"comment"># Arch
sudo pacman -S nodejs npm Installer OpenClaw
npm install -g openclaw Initialiser et Démarrer
openclaw init
openclaw gateway start Tester
openclaw chat "Hello! What can you do?" Installation avec Docker
Idéal pour l'isolation et le déploiement facile. Fonctionne partout où Docker est disponible.
Télécharger l'Image
docker pull openclaw/openclaw:latest Exécuter l'Assistant de Configuration
docker run -it \
-v openclaw-config:/home/openclaw/.openclaw \
openclaw/openclaw:latest init Démarrer la Passerelle
docker run -d \
--name openclaw \
--restart unless-stopped \
-v openclaw-config:/home/openclaw/.openclaw \
openclaw/openclaw:latest gateway start Discuter
docker exec -it openclaw openclaw chat "Hello!" Déployer dans le Cloud
Déploiements en un clic pour une disponibilité permanente.
Obtenez Votre Clé API
OpenClaw a besoin d'une clé API de votre fournisseur IA préféré.
Dépannage
Problèmes courants et comment les résoudre.
Command not found: openclaw
Make sure npm's global bin directory is in your PATH. Try:
npm config get prefix
Add the returned path + /bin to your shell's PATH variable.
Gateway won't start
Check if the port is already in use. The gateway runs on port 3000 by default.
lsof -i :3000 # macOS/Linux
netstat -ano | findstr :3000 # Windows
You can also try restarting: openclaw gateway restart
API key not working
Verify your API key is correctly set:
openclaw config show
Make sure there are no extra spaces. You can reset it with openclaw init.
WhatsApp QR code not appearing
The WhatsApp QR code is shown in the terminal. Make sure you run the command in a terminal that supports QR display. If issues persist, see the official WhatsApp docs.
Toujours bloqué ?
🎉 Tout Est Prêt !
Maintenant qu'OpenClaw fonctionne, voici la suite :