Getting Started

Start your journey with Mistral Vibe CLI in just a few minutes

Quick Start

Step 1

Install Vibe CLI

Install Mistral Vibe CLI using pip or uv. We recommend using a virtual environment.

Option 1: Using pip

pip install mistral-vibe

Option 2: Using uv

uv pip install mistral-vibe

Note: Requires Python 3.11 or higher.

Step 2

Initialize Vibe

After installation, initialize Vibe in your project directory.

vibe

Vibe will guide you through the setup process, including:

  • Authenticating with your Mistral account
  • Configuring your API key
  • Setting up your project preferences
Step 3

Start Your First Project

Once Vibe is set up, you can start using it in your terminal. Vibe works in the context of your current directory.

# Navigate to your project directory cd my-project
# Start Vibe vibe

Vibe will load your project context and be ready to assist you.

Dikkie Dik style cat at computer

Using Vibe CLI

Ask Questions

Once in Vibe, you can ask questions in natural language about your project.

# "Create a React component for a user profile"

Code Completion

Start typing code and Vibe will suggest completions based on your project context.

# Type: def calculate_tot # Vibe suggests: def calculate_total(items):

File Operations

Vibe can create, read, modify, and delete files based on your instructions.

# "Create a new file called api.py with a FastAPI app"
Dikkie Dik style cat giving tips
Pro Tips

Get the Most Out of Vibe

Be Specific

The more specific your requests, the better Vibe can help. Instead of "fix my code", try "fix the TypeError on line 42 in user_service.py".

Use Context

Vibe remembers the conversation context. Reference previous discussions and Vibe will maintain continuity.

Iterate

Don't expect perfect code on the first try. Vibe is great for iteration - ask it to refine, improve, or modify its suggestions.

Configuration

Vibe Configuration

Customize Vibe's behavior with configuration options.

Configuration File

Vibe creates a .vibe directory with configuration files.

# Edit configuration nano .vibe/config.json

Common Settings

  • Model: Choose between different Mistral models
  • Temperature: Control creativity (0 = deterministic, 1 = creative)
  • Max Tokens: Limit response length
  • Context Window: Set how much context to remember

Environment Variables

Set environment variables for your API keys and settings.

API Key

# Set your Mistral API key export MISTRAL_API_KEY=your_api_key_here

Optional Variables

# Custom model endpoint export MISTRAL_API_URL=https://api.mistral.ai

Note: Add these to your shell configuration file (~/.bashrc, ~/.zshrc) to make them persistent.

Troubleshooting

Common Issues

Having trouble? Here are some common solutions.

Installation Errors

  • Python version too old: Upgrade to Python 3.11+
  • Permission denied: Use --user flag or virtual environment
  • Missing dependencies: Check error message and install required packages

Getting Help

Need more assistance? Here's where to find help.

Resources

Community

Ready to Code?

You now have everything you need to get started with Mistral Vibe CLI. Dive in and start building amazing things!

Back to Home Explore Features