AI CLI Tools¶
AI-assisted development from the terminal. Generate commands, explain code, automate tasks.
Claude Code¶
Interactive AI coding agent in the terminal:
Start with a specific task:
Run in non-interactive mode for scripting:
Resume the most recent conversation:
Install:
npm install -g @anthropic-ai/claude-code
GitHub Copilot CLI¶
Get command suggestions from natural language:
Explain a command you're unsure about:
Install:
gh extension install github/gh-copilot
llm (Simon Willison)¶
Send a prompt to any LLM from the terminal:
Pipe content for analysis:
Use with different models:
Install:
pip install llm·brew install llm
Aider¶
AI pair programming — edits files directly:
Start with a specific model:
Install:
pip install aider-chat
Pipe Patterns¶
These patterns work with any AI CLI tool:
Pass a diff for review:
Generate a commit message:
Explain a complex command: