The 15 best command-line tools for AI developers in 2026. From AI coding agents to productivity utilities, these are the tools I use every day. Install commands included.
Last updated: April 2026. macOS install commands shown. Most work on Linux with equivalent package managers.
If you install nothing else, get these five: Claude Code (AI coding), Ollama (local models), fzf (fuzzy search), ripgrep (code search), and gh (GitHub). Together they cover 90% of daily developer workflows from the terminal.
Anthropic's CLI-based AI coding agent. Runs in your terminal and handles multi-file refactors, test writing, debugging, and complex coding tasks autonomously. Reads your entire project, understands the codebase, and makes changes across multiple files in a single session. The most capable AI coding tool that runs in a terminal.
Verdict: The best AI coding tool for terminal-first developers.
npm install -g @anthropic-ai/claude-codeGoogle's free AI coding CLI powered by Gemini 2.5 Pro with a 1M token context window. Completely free to use with no monthly limits on the free tier. Handles code generation, debugging, file editing, and codebase Q&A. The best free alternative to Claude Code.
Verdict: Best free AI CLI tool. Unbeatable on cost.
npm install -g @anthropic-ai/gemini-cliThe easiest way to run AI models locally. One command to download and run any open-source model. Provides an OpenAI-compatible API server, so you can use local models with tools that expect the OpenAI API. Handles quantization, GPU acceleration, and model management automatically.
Verdict: Essential for local model development. Install it first.
curl -fsSL https://ollama.com/install.sh | shAstral's ultra-fast Python package manager and project tool. Replaces pip, pip-tools, pipx, poetry, pyenv, and virtualenv in a single binary. Written in Rust, it is 10-100x faster than pip for resolving and installing packages. The new standard for Python development.
Verdict: If you write Python, replace pip with uv today.
curl -LsSf https://astral.sh/uv/install.sh | shAll-in-one JavaScript and TypeScript runtime, bundler, package manager, and test runner. Significantly faster than Node.js for package installs, script execution, and test running. Drop-in compatible with most Node.js code and npm packages.
Verdict: Fastest JS runtime. Worth switching to for the speed alone.
curl -fsSL https://bun.sh/install | bashOpenAI's terminal-based coding agent. Reads your codebase, generates code, executes commands, and submits PRs. Runs in a sandboxed environment for safety. Works with GPT-5 and o3 models through your ChatGPT subscription.
Verdict: Strong OpenAI alternative to Claude Code.
npm install -g @openai/codexA command-line fuzzy finder that transforms how you navigate your terminal. Pipe any list into fzf and get instant fuzzy search. Use it to search files, command history, git branches, processes, and anything else that produces a list. Once you try it, you cannot go back.
Verdict: The most underrated CLI tool. Changes your terminal workflow forever.
brew install fzfThe standard tool for processing JSON on the command line. Filter, transform, and format JSON data with a concise query language. Essential for working with APIs, log files, configuration files, and any JSON output from other tools. Pairs perfectly with curl for API exploration.
Verdict: Non-negotiable for anyone working with JSON. Learn the basics.
brew install jqA blazing-fast recursive search tool that respects .gitignore by default. Replaces grep for code search. Written in Rust, it searches massive codebases in milliseconds. Supports regex, file type filtering, and multiline matching. Used internally by VS Code for its search feature.
Verdict: The fastest code search tool. Better than grep in every way.
brew install ripgrepGitHub's official CLI. Create repos, manage PRs, review code, manage issues, trigger workflows, and do everything you would do on github.com from your terminal. Supports extensions for additional functionality. Pairs well with AI coding tools for automated PR workflows.
Verdict: Required if you use GitHub. Faster than the web UI for most tasks.
brew install ghA terminal UI for git that makes complex git operations visual and intuitive. Stage individual hunks, interactive rebase, cherry-pick, manage stashes, and resolve conflicts without remembering git commands. Keyboard-driven with a clean TUI that shows everything at a glance.
Verdict: Makes git visual without leaving the terminal. Highly addictive.
brew install lazygitA smarter cd command that learns your habits. Type 'z projects' and it jumps to the most frequently visited directory matching that pattern. Maintains a database of your directory usage and uses frecency (frequency + recency) to rank results. Drop-in replacement for cd.
Verdict: Tiny tool, massive time savings. Replaces cd after one day.
brew install zoxideA cat replacement with syntax highlighting, line numbers, git integration, and automatic paging. Supports hundreds of programming languages out of the box. Shows git diff markers in the margin and integrates with fzf for previewing files during fuzzy search.
Verdict: Better cat. Install it and alias cat to bat.
brew install batA human-friendly HTTP client for the terminal. Simpler syntax than curl with colorized output, JSON support, and sensible defaults. Great for testing APIs, debugging webhooks, and exploring REST endpoints. The syntax reads like English: http GET api.example.com/users.
Verdict: Friendlier than curl for API testing. Keep curl for scripting.
brew install httpieA modern replacement for ls with icons, colors, git status, tree view, and extended file attributes. Written in Rust for speed. Shows file permissions, sizes, and dates in a readable format. The tree view is especially useful for visualizing project structures.
Verdict: Better ls with git awareness. Nice quality of life upgrade.
brew install eza| # | Tool | Category | Best For | Price | Rating |
|---|---|---|---|---|---|
| 1 | Claude Code | AI Coding | Autonomous AI coding | $200/mo (Max) | 9.5/10 |
| 2 | Gemini CLI | AI Coding | Free AI coding | Free | 9.0/10 |
| 3 | Ollama | Local AI | Running local models | Free | 9.3/10 |
| 4 | uv | Package Management | Python package management | Free | 9.2/10 |
| 5 | Bun | JavaScript Runtime | Fast JavaScript/TypeScript | Free | 9.1/10 |
| 6 | Codex CLI | AI Coding | AI coding with OpenAI models | ChatGPT Plus ($20/mo) | 8.8/10 |
| 7 | fzf | Productivity | Fuzzy search everything | Free | 9.0/10 |
| 8 | jq | Data Processing | JSON processing | Free | 9.0/10 |
| 9 | ripgrep (rg) | Search | Fast code search | Free | 9.0/10 |
| 10 | gh | Version Control | GitHub workflow | Free | 8.9/10 |
| 11 | lazygit | Version Control | Visual git in terminal | Free | 8.8/10 |
| 12 | zoxide | Navigation | Fast directory navigation | Free | 8.7/10 |
| 13 | bat | File Viewing | Syntax-highlighted file viewing | Free | 8.6/10 |
| 14 | httpie | API Testing | API testing and debugging | Free | 8.5/10 |
| 15 | eza | File Listing | Pretty file listings | Free | 8.4/10 |
Every tool on this list is one I actually use in my daily workflow. I evaluate each on speed (does it feel instant), reliability (does it just work), utility (how often do I reach for it), and developer experience (is it pleasant to use).
Install commands default to macOS with Homebrew. Most tools are also available on Linux via apt, dnf, or their own install scripts. I am not paid by any tool on this list to include them.
I make videos showing real terminal workflows with these tools. AI coding agents, local models, productivity setups, and more.

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.