Install Mistral Vibe and send your first prompt

Install Mistral Vibe, configure your theme and API key, and send your first prompt directly from the terminal.

  • One-line install: get Mistral Vibe running in seconds on macOS or Linux
  • Theme selection: choose an interface style for the interactive CLI
  • API key configuration: connect Mistral Vibe to your Mistral account on first launch

By the end you will have Mistral Vibe installed, configured, and responding to prompts in your terminal.

Time to complete: ~5 minutes

Prerequisites

Prerequisites

Step 1: Install Mistral Vibe

Step 1: Install Mistral Vibe

One-liner (macOS/Linux)

Run this command in your terminal:

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

Manual install (macOS/Linux/Windows)

If you prefer a manual setup, or you are on Windows:

  1. Confirm Python 3.12+ is installed: python3 --version.
  2. Install Mistral Vibe with your preferred package manager:
# Using uv (recommended)
uv tool install mistral-vibe

# Using pip
pip install mistral-vibe
Step 2: Launch and configure Mistral Vibe

Step 2: Launch and configure Mistral Vibe

  1. Open a terminal and navigate to any project directory.
  2. Run:
vibe

Mistral Vibe running in a terminal

On first launch, Mistral Vibe prompts you to configure two settings:

  1. Pick a theme. Select the interface style you prefer. You can change this later with the /theme command.

Select your preferred theme

  1. Enter your API key. Generate a key from the StudioCodestral API keys page and paste it into the terminal.

Entering the API key on first launch

Mistral Vibe stores the key locally. You do not need to enter it again.

Step 3: Send your first prompt

Step 3: Send your first prompt

Type a request directly into the Mistral Vibe prompt. For example:

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

Mistral Vibe reads your project context and responds with relevant information. It can also generate code, edit files, and run shell commands when needed.

Sending a query to Mistral Vibe

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

Verify

Verify

You have completed the setup:

  1. Mistral Vibe is installed and available in your terminal (vibe --version confirms it).
  2. Your theme and API key are configured.
  3. Mistral Vibe responds to prompts with context-aware answers.
What's next

What's next