# Mistral Vibe CLI
The Vibe CLI is [[Mistral AI]]'s terminal-native coding agent — the command-line surface of the [[Mistral Vibe]] product. It is what Mistral users mean when they say "Mistral CLI" today; there is no separate general-purpose Mistral API CLI in the docs, only this agentic coding CLI. Mistral describes it as a tool that "explores, edits, and runs commands across your repository using natural language." Default driver is [[Mistral Medium 3.5]] (April 2026 onwards), replacing [[Devstral 2]].
## Install
```bash
curl -LsSf https://mistral.ai/vibe/install.sh | bash
```
Authentication is set up via the Mistral console: `console.mistral.ai/codestral/cli`. As with any `curl | bash` install, read the script before running it on a machine you care about.
## What it does
- **Code generation and editing** — production-ready code from natural-language prompts; edits files in place
- **Test generation** — auto-generated tests that evolve alongside the codebase
- **Code review** — context-aware feedback against an existing codebase
- **Debugging** — flags syntax errors, logical bugs, and typos
- **Multi-file architecture-level reasoning** — the CLI works across the whole repo, not file-by-file
## Surfaces and parity
Mistral pitches three surfaces backed by the same underlying model:
- **Terminal** — the Vibe CLI (this note)
- **IDE** — Vibe inside the editor
- **Async / remote agents** — [[Mistral Remote Agents]] in the cloud
Sessions started in the CLI can be teleported to the cloud mid-flight; session history, task state, and pending approvals carry across without restarting (see [[Mistral Vibe]]).
## When to reach for it
- Repo-scoped agentic coding from a terminal — comparable in posture to [[Claude Code]] and OpenAI Codex CLI
- Pipelines and CI where you want an agent to run inside the same shell as the rest of the build
- Local-first work that you might later want to promote to a long-running cloud session
## Caveats
- Public preview as of April 2026; commands, flags, and behavior will move
- "Modified MIT" license applies to the underlying [[Mistral Medium 3.5]] weights, not the CLI itself; check the CLI's own license before vendoring or redistributing
- `curl | bash` install — in restricted environments, fetch the script first, audit it, and run it explicitly
- Console-based authentication means there is a Mistral account dependency even when running locally; on-prem story for the CLI specifically is unclear from the public docs
## References
- Vibe product page (install + capabilities): https://mistral.ai/products/vibe
- Console (authentication): https://console.mistral.ai/codestral/cli
- Launch post (CLI mentioned alongside remote agents): https://mistral.ai/news/vibe-remote-agents-mistral-medium-3-5
## Related
- [[Mistral AI]]
- [[Mistral Vibe]]
- [[Mistral Remote Agents]]
- [[Mistral Medium 3.5]]
- [[Devstral 2]]
- [[Le Chat]]
- [[La Plateforme]]
- [[Claude Code]]
- [[Gemini CLI]]
- [[Anthropic CLI (ant)]]
- [[AI Agents]]