Aller au contenu

Warp - Terminal alimenté par l'IA

*Ultimate Warp terminal reference for AI features, raccourcis, et la productivité moderne *

Copier toutes les commandes Générer PDF

Warp est un émulateur terminal révolutionnaire basé sur Rust qui réimagine l'expérience en ligne de commande avec l'intégration de l'IA, l'interface à base de blocs et les fonctionnalités modernes de type IDE. Créé par une équipe d'anciens ingénieurs de Google, Warp transforme les workflows de terminaux traditionnels avec des suggestions de commandes intelligentes, des fonctionnalités collaboratives et une belle interface rapide. Cette feuille de tricherie complète couvre les raccourcis essentiels, les fonctionnalités d'IA et les améliorations de productivité pour maximiser votre efficacité avec Warp.

Commencer

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/

Première configuration de 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

```bash
# 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

```bash
# 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

Caractéristiques de l'IA

Assistant de distorsion AI

# 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

Flux de travail AI

# 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

Fonctions de commande

Interface par 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

Entrée 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 commande

Palette de commande d'accès

# 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 palettes

# 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

Flux de travail

Création de flux de travail

# 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)

Flux de travail

# 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

Caractéristiques de la collaboration

Disque de distorsion

# 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

Caractéristiques de l'équipe

# Team workflows
# Share common workflows across team

# Session history
# Access shared command history

# Team themes
# Consistent appearance across team

Performance et débogage

Surveillance de la performance

# 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éboguement

# 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

Intégration Shell

# 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

# 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

Questions communes

# 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

# 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

Caractéristiques avancées

Reliures de clés personnalisées

# 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

# 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

# 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 pratiques exemplaires

Conseils en matière de productivité

# 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

Pratiques exemplaires en matière de sécurité

# 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

Recommandations de personnalisation

# 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

La distorsion représente l'avenir des émulateurs terminaux, combinant la puissance des interfaces traditionnelles en ligne de commande avec l'aide moderne à l'IA et des fonctionnalités collaboratives. Son approche par blocs, ses suggestions intelligentes et sa belle interface en font un excellent choix pour les développeurs qui veulent améliorer leur productivité de terminal tout en maintenant la flexibilité et la puissance de la ligne de commande.