Your First Commands

Now that you have Delta CLI installed, let's explore the essential commands that will help you work smarter and faster on the command line.

Try It Yourself

This is an interactive terminal. Try typing the commands below:

āˆ† tutorial
# Welcome to Delta CLI! Try these commands:
delta :help
Delta CLI - Your AI-powered command line assistant Core Commands: :help Show this help message :ai Ask the AI for help :memory View command history :jump Quick directory navigation :undo Undo last command (Pro) Type any command for AI suggestions!
[~/projects/delta] āˆ†

Core Commands

Getting Help

The help command shows you all available Delta CLI features:

bash
delta :help

AI Assistant

Ask the AI for help with any command or task:

bash
# Ask for help with a specific task
delta :ai "how do I find large files in this directory?"

# Get command suggestions
delta :ai "compress all images in this folder"

# Learn about command options
delta :ai "explain git rebase -i"

The AI understands your context and provides tailored suggestions.

Command History & Memory

Delta remembers your commands and learns from your patterns:

bash
# View your command history with context
delta :memory

# Search through past commands
delta :memory search "docker"

# View commands from a specific directory
delta :memory --dir /path/to/project

Smart Directory Navigation

Jump to frequently used directories instantly:

bash
# Jump to a frequently used directory
delta :jump projects

# Jump with fuzzy matching
delta :jump proj  # matches "projects"

# View jump statistics
delta :jump --stats

AI-Powered Command Suggestions

Delta watches as you type regular shell commands and provides intelligent suggestions:

Dangerous Command Protection

bash
$ rm -rf /
āš ļø  Delta: This command will delete your entire filesystem!
šŸ’” Did you mean: rm -rf ./node_modules/

Proceed anyway? (y/N):

Command Completion

bash
$ git commit -m 
šŸ’” Delta: Based on your changes:
   "fix: resolve memory leak in worker process"
   "feat: add caching to API responses"
   "docs: update README with new examples"

Error Recovery

bash
$ git push origin mian
error: src refspec mian does not match any

šŸ’” Delta: Did you mean 'main'? Try:
   git push origin main

Basic Configuration

Customize Delta to match your workflow:

bash
# Open configuration
delta :config

# Enable/disable features
delta :config set ai.enabled true
delta :config set safety.confirmDangerous true

# View current settings
delta :config show

For detailed configuration options, see the configuration guide.

Pro Features Preview

Delta CLI Pro unlocks advanced features for power users:

Command Undo

bash
# Undo the last command's effects
delta :undo

# Undo a specific command
delta :undo "rm important-file.txt"

Team Sync

bash
# Share command patterns with your team
delta :sync push

# Import team's command patterns
delta :sync pull

Advanced AI

bash
# Multi-step command planning
delta :ai plan "deploy to production"

# Script generation
delta :ai script "backup database and files"

Next Steps

Great! You've learned the essential Delta CLI commands. Continue with: