Installer le CLI OpenClaw
Installez-le globalement avec npm install -g openclaw@latest ou utilisez le script d’installation curl en une ligne disponible sur la page d’accueil.
Installer le CLI OpenClaw est une leçon OpenClaw Academy gratuite sur CoddyKit. Ceci est la leçon 2 sur 4. Tu peux lire la leçon complète ci-dessous gratuitement — puis la pratiquer en direct dans le navigateur avec un éditeur de code intégré et un tuteur IA 24/7. Elle fait partie du parcours d'apprentissage OpenClaw Academy, et ta progression se synchronise sur le web et l'application CoddyKit. Le cours OpenClaw Academy comprend 4 leçons au total.
Certaines parties de cette leçon n'ont pas encore été traduites et s'affichent en anglais.
Time to Install
With your prerequisites ready, installing OpenClaw is one short step. The install puts the openclaw command on your machine so you can run it from anywhere.
The npm Way
The standard method uses npm, which comes bundled with Node. It downloads OpenClaw from the npm registry and sets it up for you.
Install Globally
Run this command to install OpenClaw. The -g flag installs it globally, so the openclaw command works from any folder.
npm install -g openclaw@latestWhat @latest Means
The @latest tag tells npm to grab the newest published release. You always start on the current version instead of an old cached one.
The One-Line Script
Prefer not to use npm directly? The homepage offers a curl install script that does the setup for you in a single line.
curl -fsSL https://openclaw.ai/install.sh | bashReading the curl Flags
In that one-liner, -fsSL makes curl fail quietly on errors and follow redirects, then bash runs the downloaded script. Both methods reach the same place.
npm or curl
Either path works, so pick what fits you. The choice is just preference: npm if you manage Node packages, curl for a quick hands-off setup.
Why Install Once, Run Anywhere
A global install registers a single openclaw command. From then on you type openclaw in any terminal without reinstalling per project.
Confirm It Landed
After installing, check that the command exists. Running openclaw --version prints the installed version and proves the install worked.
openclaw --versionIf the Command Is Missing
If your shell cannot find openclaw, the global npm bin folder may not be on your PATH. Reopening the terminal often picks up the new command.
Installed, Not Configured Yet
Installing only places the tool on disk. The next stage, onboarding, is where you actually wire up the daemon and your channels.
Quick Check
Which command installs OpenClaw globally via npm?
Recap
You can now install OpenClaw two ways: npm install -g openclaw@latest or the curl one-liner. A quick --version check confirms it is ready to onboard. ⚙️
Questions Fréquemment Posées
La leçon « Installer le CLI OpenClaw » est-elle gratuite ?
Oui — le texte complet de « Installer le CLI OpenClaw » est gratuit à lire ici sur le web. Pour la pratiquer de manière interactive (un éditeur de code intégré et un tuteur IA 24/7) et déverrouiller le reste du cours OpenClaw Academy, passe à CoddyKit PRO. Le cours OpenClaw Academy comprend 4 leçons au total.
Qu'est-ce que j'apprendrai dans « Installer le CLI OpenClaw » ?
Installez-le globalement avec npm install -g openclaw@latest ou utilisez le script d’installation curl en une ligne disponible sur la page d’accueil. Tu pratiques OpenClaw Academy avec du code pratique que tu exécutes directement dans le navigateur, et un tuteur IA 24/7 répond à tes questions au fur et à mesure que tu avances dans la leçon.
Dois-je avoir de l'expérience pour commencer OpenClaw Academy ?
Aucune expérience préalable n'est requise. OpenClaw Academy sur CoddyKit est structuré pour les débutants jusqu'aux apprenants avancés, donc tu peux commencer ici ou depuis le début et avancer à ton rythme. Ceci est la leçon 2 sur 4.
Combien de temps prend la leçon « Installer le CLI OpenClaw » ?
La plupart des leçons CoddyKit prennent environ 5–10 minutes. Chacune est courte et interactive, tu progresses régulièrement et tu repiques exactement où tu t'es arrêté sur le web et l'app.
Peux-tu écrire et exécuter du code dans cette leçon OpenClaw Academy ?
Oui. Chaque leçon OpenClaw Academy inclut un éditeur de code intégré, tu écris et exécutes du vrai code directement dans ton navigateur et tu reçois des retours IA instantanés — aucune configuration locale requise.
Toutes les leçons de ce cours
- Vérifier vos prérequis
- Installer le CLI OpenClaw
- Exécuter l’assistant de configuration initiale
- Ouvrir le tableau de bord local