Flux d'installation d'OpenClaw sur un nouveau Mac

Comment installer OpenClaw sur un nouveau Mac

Construire

Comment installer OpenClaw sur un nouveau Mac

Guide d’installation rapide: préparer le système, configurer Node et GitHub, puis finaliser l’onboarding OpenClaw.

1. Base système

Terminal window
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

2. Node.js et pnpm

Terminal window
brew install fnm
echo 'eval "$(fnm env --use-on-cd --shell zsh)"' >> ~/.zshrc
source ~/.zshrc
fnm install --lts
fnm default lts-latest
corepack enable
corepack prepare pnpm@latest --activate
which node && which pnpm

3. SSH GitHub

Terminal window
which ssh
ssh-keygen -t ed25519 -C "your_email@example.com"
pbcopy < ~/.ssh/id_ed25519.pub
ssh -T git@github.com

Exemple ~/.ssh/config:

Host *
AddKeysToAgent yes
UseKeychain yes
Host github.com
HostName ssh.github.com
Port 443
User git
IdentityFile ~/.ssh/id_ed25519
ProxyCommand nc -X 5 -x 127.0.0.1:7897 %h %p

4. Installer OpenClaw

Terminal window
pnpm add -g @openai/codex
pnpm add -g @google/gemini-cli
pnpm add -g openclaw@latest
pnpm approve-builds -g
openclaw onboard --install-daemon

Choix recommandés: QuickStart, fournisseur OpenAI, hooks activés.

5. Vérification rapide

Terminal window
node -v && pnpm -v && openclaw --version

Si tout est correct, l’environnement OpenClaw est prêt.

Publié le: 3 mars 2026 · Modifié le: 3 mars 2026

Articles similaires