コンテンツにスキップ

Warp - AIパワードターミナル

AIの機能、ショートカット、モダンな生産性のための究極のWarpターミナルリファレンス

Warpは、AIの統合、ブロックベースのインターフェース、モダンなIDE風の機能を備えた、革新的なRustベースのターミナルエミュレータです。元Googleエンジニアのチームによって作成されたWarpは、インテリジェントなコマンド提案、コラボレーション機能、美しく高速なインターフェースで、従来のターミナルワークフローを変革します。この包括的なチートシートは、Warpでの効率を最大化するための重要なショートカット、AI機能、生産性向上について説明します。

はじめに

インストール

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

初回起動設定

# 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

基本的なショートカット

ウィンドウとタブの管理

# 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

ペインの管理

# 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

AI機能

Warp 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

自然言語コマンド

# 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

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

コマンド機能

ブロックベースのインターフェース

# 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

コマンド入力

# 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

テキストの選択と編集

# 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

検索とナビゲーション

コマンド検索

# 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

コマンドパレット

コマンドパレットへのアクセス

# 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

パレットのカテゴリ

# 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

カスタマイズ

テーマ

# 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

設定

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

フォント設定

# 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

ワークフロー

ワークフローの作成

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

ワークフローの実行

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
```### チーム機能
```bash
# Team workflows
# Share common workflows across team

# Session history
# Access shared command history

# Team themes
# Consistent appearance across team
```## パフォーマンスとデバッグ
```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
```### パフォーマンスモニタリング
```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
```### デバッグ
```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
```## 統合
```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
```### シェル統合
```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
```### 外部ツール
```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
```## トラブルシューティング
```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
```### 一般的な問題
```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
```### リセットと復旧
```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
```## 高度な機能
```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
```### カスタムキーバインディング
```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
```### 環境変数
```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
```### APIと自動化