Comment installer OpenClaw sur un nouveau Mac
Comment installer OpenClaw sur un nouveau Mac Guide pratique pour installer OpenClaw sur un Mac neuf, avec Homebrew, fnm, pnpm, SSH, onboarding et dépannage. Topics: Startup, Innovation, Gestion, Stratégie.
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
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
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
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
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
node -v && pnpm -v && openclaw --version
Si tout est correct, l’environnement OpenClaw est prêt.