close
mistralM

Docs

sideBar

Install the Vibe CLI and send your first prompt

Install the Vibe CLI, configure your API key, and send your first prompt from the terminal. ~5 minutes.
flagThis step takes ~5 minutes to complete.

Install the Vibe CLI, register your API key, and send your first prompt directly from the terminal.

  • One-line install: get the CLI running in seconds on macOS or Linux.
  • Setup wizard: register your API key on first launch.
  • Send a prompt: have Vibe read your project and respond in the terminal.

By the end you'll have the Vibe CLI installed, configured, and responding to prompts in your terminal.

Time to complete: ~5 minutes

Prerequisites

  • macOS, Linux, or Windows.
  • Python 3.12 or later (for manual install). uv downloads it if needed.
  • (Optional) a Mistral account if you want to use Mistral-hosted models. The CLI also works fully offline with local models or against any OpenAI-compatible API key you provide. See API keys and profiles for the full provider matrix.
lightbulb

On a different interface? See the VS Code extension or Vibe Code Web guides.

Step 1: Install the CLI

One-liner (macOS/Linux)

Run this in your terminal:

curl -LsSf https://mistral.ai/vibe/install.sh | bash

The installer checks uv (Astral's Python tool installer), installs or upgrades mistral-vibe, and makes the vibe and vibe-acp commands available, provided your PATH is configured.

Manual install (macOS/Linux/Windows)

If you prefer manual setup, or you're on Windows, install with uv:

uv tool install --python 3.14 mistral-vibe

For Windows, install uv first via PowerShell, then run uv tool install --python 3.14 mistral-vibe. See Install and setup for the full per-platform instructions.

Step 2: Launch and configure

  • 1.

    Open a terminal in any project directory.
  • 2.

    Run:
vibe

Vibe CLI running in a terminal

On first launch, the CLI runs a setup wizard. Pick a theme, then choose how to sign in. Launch browser (recommended) signs you in with your Mistral account in your browser. Use an API key lets you paste a key instead. If the browser doesn't open, press c to copy the sign-in URL. Vibe stores your credentials locally, so you don't need to enter them again.

For non-Mistral providers or automation, paste an API key instead. Generate one from Vibe › Code › Vibe CLIarrowUpRight. The same key works in Free mode, with a paid plan, or with pay-as-you-go enabled.

Sign in on first launch

lightbulb

You can re-run the wizard anytime with vibe --setup.

pen

If you run vibe for the first time in a project that contains an AGENTS.md file or Vibe configuration (such as .vibe/config.toml or .agents/skills/), the CLI asks whether you trust the folder before loading any local configuration. See Trusted folders.

Step 3: Send your first prompt

Type a request directly in the prompt. For example:

List the files in this directory and explain what each one does.

The CLI reads your project context and responds with relevant information. It can also generate code, edit files, and, with your approval, run shell commands.

Sending a query to the Vibe CLI

To run a shell command directly from the CLI, prefix it with !. For example: !ls or !git status.

Verify

You've completed the setup if:

  • 1.

    vibe --version returns a version number.
  • 2.

    You're signed in (or your API key is registered).
  • 3.

    The CLI responds to prompts with context-aware answers.

Next quickstarts

Keep going with the next step.
Scaffold a project with Vibe Code
Scaffold a project with Vibe Code

Scaffold a project with Vibe Code

Use Vibe Code to scaffold a new project from a natural-language description, reviewing every change before it's applied. ~10 minutes.

clock

10 min to complete

chevronRight

Going further

API keys and profiles
illustrationKey

API keys and profiles

Create a Mistral API key, give it to the Vibe Code CLI, check which credentials it uses, and switch between accounts or providers.

Choose CLI, VS Code, web, or Desktop sessions
illustrationClock

Choose CLI, VS Code, web, or Desktop sessions

Compare the Vibe Code CLI, VS Code extension, Vibe Code Web, and Vibe Desktop to choose the surface that fits your task.

CLI install and setup reference
illustrationBook

CLI install and setup reference

Install the Vibe CLI, start it in your project, choose an access path, and verify, update, or reset your setup.