Installation Instructions for Coding Agents
Terminal-native coding agents have become a staple of modern development workflows. This post collects the canonical installation commands for the four CLIs I currently rotate between — Claude Code, OpenAI Codex CLI, GitHub Copilot CLI, and Mistral Vibe — across macOS, Linux, and Windows. Each section lists the options pulled straight from the upstream documentation, so you can pick whichever fits your package manager of choice.
Prerequisites
- Linux, macOS, or Windows
~/.local/bininPATH(Linux/macOS)- Bun (for GitHub Copilot CLI and OpenAI Codex CLI)
- uv (for Mistral Vibe)
Claude Code
Native install (macOS/Linux/WSL, recommended):
curl -fsSL https://claude.ai/install.sh | bash
macOS (Homebrew):
brew install --cask claude-code
Windows (PowerShell):
irm https://claude.ai/install.ps1 | iex
Windows (WinGet):
winget install Anthropic.ClaudeCode
OpenAI Codex CLI
Cross-platform (Bun):
bun add -g @openai/codex
macOS (Homebrew):
brew install --cask codex
Or download the binary for your platform (including Windows) from the latest GitHub release.
GitHub Copilot CLI
See the Getting Started guide for details.
macOS/Linux (Homebrew):
brew install copilot-cli
Windows (WinGet):
winget install GitHub.Copilot
Cross-platform (Bun):
bun add -g @github/copilot
Mistral Vibe
See the README for details.
macOS/Linux (one-line install):
curl -LsSf https://mistral.ai/vibe/install.sh | bash
Cross-platform (uv):
uv tool install mistral-vibe
Verify Installations
claude --version
codex --version
copilot --version
vibe --version