Aller au contenu

Warp - Terminal Alimenté par l'IA

Référence ultime du terminal Warp pour les fonctionnalités IA, les raccourcis et la productivité moderne

Warp est un émulateur de terminal révolutionnaire, basé sur Rust, qui réinvente l’expérience de ligne de commande avec l’intégration de l’IA, une interface basée sur des blocs et des fonctionnalités modernes de type IDE. Créé par une équipe d’anciens ingénieurs de Google, Warp transforme les workflows traditionnels du terminal avec des suggestions de commandes intelligentes, des fonctionnalités collaboratives et une interface belle et rapide. Ce guide complet couvre les raccourcis essentiels, les fonctionnalités IA et les améliorations de productivité pour maximiser votre efficacité avec Warp.

Premiers Pas

Installation

# macOS (Homebrew)
brew install --cask warp

# macOS (Direct Download)
# Download from https://www.warp.dev/

# Linux (Debian/Ubuntu)
curl -fsSL https://releases.warp.dev/linux/v0.2024.10.29.08.02.stable_02/warp-terminal_0.2024.10.29.08.02.stable.02_amd64.deb -o warp.deb
sudo dpkg -i warp.deb

# Linux (Fedora/RHEL)
curl -fsSL https://releases.warp.dev/linux/v0.2024.10.29.08.02.stable_02/warp-terminal-0.2024.10.29.08.02.stable.02-1.x86_64.rpm -o warp.rpm
sudo rpm -i warp.rpm

# Windows
# Download from Microsoft Store or https://www.warp.dev/

Configuration du Premier Lancement

# Sign in to Warp (required for AI features)
# Click "Sign In" in the welcome screen

# Skip sign-in (limited features)
# Click "Continue without signing in"

# Import existing terminal settings
# Warp will detect and offer to import from other terminals

Raccourcis Essentiels

Gestion des Fenêtres et des Onglets

# New window
Cmd+N                                     # macOS
Ctrl+Shift+N                             # Linux/Windows

# New tab
Cmd+T                                     # macOS
Ctrl+Shift+T                             # Linux/Windows

# Close tab
Cmd+W                                     # macOS
Ctrl+Shift+W                             # Linux/Windows

# Close window
Cmd+Shift+W                              # macOS
Ctrl+Shift+Q                             # Linux/Windows

# Switch between tabs
Cmd+1-9                                  # macOS (tab number)
Ctrl+1-9                                 # Linux/Windows (tab number)
Cmd+Shift+[/]                            # macOS (previous/next)
Ctrl+PageUp/PageDown                     # Linux/Windows (previous/next)

# Move tab
Cmd+Shift+Left/Right                     # macOS
Ctrl+Shift+PageUp/PageDown               # Linux/Windows

Gestion des Panneaux

# Split pane right
Cmd+D                                    # macOS
Ctrl+Shift+D                            # Linux/Windows

# Split pane down
Cmd+Shift+D                              # macOS
Ctrl+Shift+Alt+D                        # Linux/Windows

# Close pane
Cmd+Shift+W                              # macOS
Ctrl+Shift+Alt+W                        # Linux/Windows

# Focus next pane
Cmd+]                                    # macOS
Ctrl+Shift+]                            # Linux/Windows

# Focus previous pane
Cmd+[                                    # macOS
Ctrl+Shift+[                            # Linux/Windows

# Resize pane
Cmd+Ctrl+Arrow                           # macOS
Ctrl+Shift+Alt+Arrow                    # Linux/Windows

# Equalize panes
Cmd+Shift+E                              # macOS
Ctrl+Shift+E                            # Linux/Windows

Fonctionnalités IA

Assistant IA de Warp

# Open AI chat
Cmd+`                                    # macOS
Ctrl+`                                   # Linux/Windows

# Ask AI about command
# Type natural language after #
# Example: "# how do I find large files"

# AI command suggestions
# Start typing and Warp suggests commands
# Press Tab to accept suggestion

# Explain command output
# Select output text and press Cmd+E (macOS) or Ctrl+E (Linux/Windows)

# AI-powered error explanations
# Click on error messages for AI explanations

Commandes en Langage Naturel

# Examples of natural language queries
# find files larger than 100MB
# show me running processes
# compress this folder
# what's using port 8080
# show git status with colors
# list docker containers
# find python files modified today

Workflows IA

# Create workflow from commands
Cmd+Shift+S                              # macOS
Ctrl+Shift+S                            # Linux/Windows

# Run saved workflow
Cmd+Shift+R                              # macOS
Ctrl+Shift+R                            # Linux/Windows

# Share workflow
# Right-click workflow → Share

Fonctionnalités de Commande

Interface Basée sur des Blocs

# Navigate between command blocks
Cmd+Up/Down                              # macOS
Ctrl+Up/Down                             # Linux/Windows

# Select entire command block
Cmd+A (when cursor in block)             # macOS
Ctrl+A (when cursor in block)            # Linux/Windows

# Copy command block
Cmd+Shift+C                              # macOS
Ctrl+Shift+C                            # Linux/Windows

# Copy output block
Cmd+Shift+O                              # macOS
Ctrl+Shift+O                            # Linux/Windows

# Bookmark command block
Cmd+B                                    # macOS
Ctrl+B                                   # Linux/Windows

Saisie de Commande

# Multi-line command editing
Shift+Enter                              # New line in command
Cmd+Enter                                # Execute multi-line command (macOS)
Ctrl+Enter                               # Execute multi-line command (Linux/Windows)

# Command history
Cmd+R                                    # macOS
Ctrl+R                                   # Linux/Windows

# Clear command input
Cmd+U                                    # macOS
Ctrl+U                                   # Linux/Windows

# Auto-complete
Tab                                      # Accept suggestion
Shift+Tab                                # Previous suggestion

Sélection et Édition de Texte

# Select word
Double-click                             # Select word
Cmd+D                                    # Select next occurrence (macOS)
Ctrl+D                                   # Select next occurrence (Linux/Windows)

# Select line
Triple-click                             # Select entire line
Cmd+L                                    # Select line (macOS)
Ctrl+L                                   # Select line (Linux/Windows)

# Select all
Cmd+A                                    # macOS
Ctrl+A                                   # Linux/Windows

# Copy/Paste
Cmd+C / Cmd+V                            # macOS
Ctrl+C / Ctrl+V                         # Linux/Windows

# Undo/Redo
Cmd+Z / Cmd+Shift+Z                      # macOS
Ctrl+Z / Ctrl+Y                         # Linux/Windows

Recherche et Navigation

Recherche de Commande

# Search command history
Cmd+R                                    # macOS
Ctrl+R                                   # Linux/Windows

# Search in current session
Cmd+F                                    # macOS
Ctrl+F                                   # Linux/Windows

# Search across all sessions
Cmd+Shift+F                              # macOS
Ctrl+Shift+F                            # Linux/Windows

# Jump to command
Cmd+G                                    # macOS
Ctrl+G                                   # Linux/Windows
# Scroll to top
Cmd+Home                                 # macOS
Ctrl+Home                                # Linux/Windows

# Scroll to bottom
Cmd+End                                  # macOS
Ctrl+End                                 # Linux/Windows

# Page up/down
Cmd+PageUp/PageDown                      # macOS
Ctrl+PageUp/PageDown                     # Linux/Windows

# Jump to previous/next command
Cmd+Shift+Up/Down                        # macOS
Ctrl+Shift+Up/Down                       # Linux/Windows

Palette de Commandes

Accès à la Palette de Commandes

# Open command palette
Cmd+Shift+P                              # macOS
Ctrl+Shift+P                             # Linux/Windows

# Common palette commands
> Split Pane Right
> Split Pane Down
> New Tab
> Close Tab
> Settings
> Themes
> Workflows
> AI Chat

Catégories de Palette

# View categories
> View: Focus Terminal
> View: Toggle Sidebar
> View: Zoom In/Out
> Edit: Copy Block
> Edit: Paste
> Terminal: Clear Screen
> Terminal: Reset
> Warp: Settings
> Warp: Feedback

Personnalisation

Thèmes

# Access themes
Cmd+Shift+T                              # macOS
Ctrl+Shift+T                            # Linux/Windows

# Popular themes
- Warp Dark
- Warp Light
- Dracula
- One Dark
- Solarized Dark/Light
- Monokai
- GitHub Dark/Light

Paramètres

# Open settings
Cmd+,                                    # macOS
Ctrl+,                                   # Linux/Windows

# Key settings categories
- Appearance (themes, fonts, colors)
- Features (AI, autocomplete, suggestions)
- Keybindings (customize shortcuts)
- Privacy (telemetry, AI data)
- Advanced (performance, experimental)

Configuration de la Police

# Font settings in Preferences
Font Family: JetBrains Mono, Fira Code, SF Mono
Font Size: 12-16pt recommended
Line Height: 1.2-1.5
Font Weight: Regular, Medium, Bold
Ligatures: Enable for coding fonts

Workflows

Création de Workflows

# Save commands as workflow
1. Run commands in sequence
2. Select command blocks
3. Cmd+Shift+S (macOS) or Ctrl+Shift+S (Linux/Windows)
4. Name and save workflow

# Workflow examples
- Development setup (git clone, npm install, npm start)
- System monitoring (top, df, free)
- Docker operations (build, run, logs)
- Database backup (mysqldump, compression)

Exécution de Workflows

Would you like me to continue with the remaining sections?```bash

Execute workflow

Cmd+Shift+R # macOS Ctrl+Shift+R # Linux/Windows

Workflow with parameters

Use \\{\\{variable\\}\\} syntax in commands

Example: git clone \\{\\{repo_url\\}\\}

Share workflows

Export to file or share via Warp Drive

```bash
# Share session
Cmd+Shift+L                              # macOS
Ctrl+Shift+L                            # Linux/Windows

# Join shared session
# Use shared link from team member

# Session permissions
- View only
- Full access
- Time-limited access
```### Fonctionnalités d'Équipe
```bash
# Team workflows
# Share common workflows across team

# Session history
# Access shared command history

# Team themes
# Consistent appearance across team
```## Performance et Débogage
```bash
# View performance stats
Cmd+Shift+I                              # macOS
Ctrl+Shift+I                            # Linux/Windows

# Memory usage
# Check in Activity Monitor (macOS) or Task Manager (Windows)

# GPU acceleration status
# Visible in Settings > Advanced
```### Débogage
```bash
# Debug mode
# Enable in Settings > Advanced > Debug Mode

# Log files location
# macOS: ~/Library/Logs/dev.warp.Warp-Stable/
# Linux: ~/.local/share/warp-terminal/logs/
# Windows: %APPDATA%\warp-terminal\logs\

# Reset Warp
# Clear all settings and data
# Settings > Advanced > Reset Warp
```## Intégration
```bash
# Supported shells
- Bash
- Zsh (recommended)
- Fish
- PowerShell (Windows)

# Shell-specific features
# Zsh: Enhanced completions, syntax highlighting
# Fish: Native autosuggestions integration
# PowerShell: Windows-specific commands
```### Outils Externes
```bash
# Git integration
# Enhanced git status, branch display
# Visual diff support

# Docker integration
# Container status in prompt
# Docker command suggestions

# Cloud CLI integration
# AWS, GCP, Azure command completions
# Context-aware suggestions
```## Dépannage
```bash
# AI features not working
1. Ensure signed in to Warp account
2. Check internet connection
3. Verify AI features enabled in settings

# Performance issues
1. Disable GPU acceleration if problems
2. Reduce font size or line height
3. Clear session history
4. Restart Warp

# Keyboard shortcuts not working
1. Check for conflicts with system shortcuts
2. Reset keybindings in settings
3. Restart Warp
```### Réinitialisation et Récupération
```bash
# Reset settings
Settings > Advanced > Reset Settings

# Clear cache
Settings > Advanced > Clear Cache

# Reinstall Warp
1. Uninstall current version
2. Download latest from warp.dev
3. Install and restore settings from backup
```## Fonctionnalités Avancées
```bash
# Access keybinding settings
Settings > Keybindings

# Create custom shortcuts
1. Find action in list
2. Click to edit
3. Press new key combination
4. Save changes

# Export/Import keybindings
Settings > Keybindings > Export/Import
```### Variables d'Environnement
```bash
# Warp-specific variables
WARP_HONOR_PS1=1                         # Use custom PS1
WARP_ENABLE_WINGET=1                     # Enable winget on Windows
WARP_LOG_LEVEL=debug                     # Debug logging

# Shell integration variables
WARP_IS_LOCAL_SHELL_SESSION=1            # Local session indicator
```### API et Automatisation
```bash
# Warp CLI (experimental)
warp-cli --help                          # Show available commands
warp-cli session list                    # List active sessions
warp-cli workflow run <name>             # Run workflow by name

# URL schemes
warp://new-tab                           # Open new tab
warp://run?command=ls                    # Run command
warp://workflow?name=deploy              # Run workflow
```## Conseils et Meilleures Pratiques
```bash
# Use AI for learning
# Ask "# explain this command" for any unfamiliar command

# Create workflows for repetitive tasks
# Save time with automated command sequences

# Leverage block-based navigation
# Quickly jump between command outputs

# Use natural language
# Type "# " followed by what you want to do

# Bookmark important commands
# Cmd+B (macOS) or Ctrl+B (Linux/Windows) to bookmark
```### Conseils de Productivité
```bash
# Review AI data sharing
Settings > Privacy > AI Data Usage

# Use secure input mode
# For sensitive commands like passwords

# Regular session cleanup
# Clear history for sensitive sessions

# Team access control
# Carefully manage shared session permissions
```### Meilleures Pratiques de Sécurité
```bash
# Optimal font settings
Font: JetBrains Mono or Fira Code
Size: 14pt
Line Height: 1.3
Ligatures: Enabled

# Theme selection
Dark themes for extended use
Light themes for presentations
High contrast for accessibility

# AI settings
Enable command suggestions
Enable error explanations
Disable if privacy concerns
```### Recommandations de Personnalisation