Skip to main content
Watch: Grok Bot Built My AI Video Arena While I Tested 8 Models

BEST CLI TOOLS

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: October 9, 2026. macOS install commands shown. Most work on Linux with equivalent package managers.

Top 5 starter kit

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.

1
Claude Code

Claude Code

AI Coding

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-code
Best for: Autonomous AI coding$200/mo (Max)Rating: 9.5/10
2
Gemini CLI

Gemini CLI

AI Coding

Google's open-source AI coding CLI with a 1M token context window and /model Auto routing across Gemini 3 and Gemini 2.5. Handles code generation, debugging, file editing, and codebase Q&A. Paid Gemini API keys, Vertex AI and Gemini Code Assist Standard/Enterprise keep access; Google's quota page says unpaid tier and Google One users were moved to Antigravity CLI on June 18, 2026, while the same page still lists Google AI Pro and Ultra quotas.

Verdict: Best large-context CLI for teams already paying for Gemini.

npm install -g @google/gemini-cli
Best for: Huge-context coding on a paid Gemini keyPaid API key or Code AssistRating: 9.0/10
3
Ollama

Ollama

Local AI

The 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 | sh
Best for: Running local modelsFreeRating: 9.3/10
4

uv

Package Management

Astral'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 | sh
Best for: Python package managementFreeRating: 9.2/10
5
Bun

Bun

JavaScript Runtime

All-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 | bash
Best for: Fast JavaScript/TypeScriptFreeRating: 9.1/10
6
Codex CLI

Codex CLI

AI Coding

OpenAI's terminal-based coding agent. Reads your codebase, generates code, executes commands, and submits PRs. Runs in a sandboxed environment for safety. Defaults to GPT-6.1 Sol since CLI 0.161.0 (October 7, 2026) and works through your ChatGPT subscription or an API key.

Verdict: Strong OpenAI alternative to Claude Code.

npm install -g @openai/codex
Best for: AI coding with OpenAI modelsChatGPT Plus ($20/mo)Rating: 8.8/10
7

fzf

Productivity

A 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 fzf
Best for: Fuzzy search everythingFreeRating: 9.0/10
8

jq

Data Processing

The 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 jq
Best for: JSON processingFreeRating: 9.0/10
9

ripgrep (rg)

Search

A 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 ripgrep
Best for: Fast code searchFreeRating: 9.0/10
10
gh

gh

Version Control

GitHub'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 gh
Best for: GitHub workflowFreeRating: 8.9/10
11

lazygit

Version Control

A 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 lazygit
Best for: Visual git in terminalFreeRating: 8.8/10
12

zoxide

Navigation

A 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 zoxide
Best for: Fast directory navigationFreeRating: 8.7/10
13
bat

bat

File Viewing

A 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 bat
Best for: Syntax-highlighted file viewingFreeRating: 8.6/10
14

httpie

API Testing

A 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 httpie
Best for: API testing and debuggingFreeRating: 8.5/10
15

eza

File Listing

A 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
Best for: Pretty file listingsFreeRating: 8.4/10

COMPARISON TABLE

#ToolCategoryBest ForPriceRating
1
Claude Code
Claude Code
AI CodingAutonomous AI coding$200/mo (Max)9.5/10
2
Gemini CLI
Gemini CLI
AI CodingHuge-context coding on a paid Gemini keyPaid API key or Code Assist9.0/10
3
Ollama
Ollama
Local AIRunning local modelsFree9.3/10
4uvPackage ManagementPython package managementFree9.2/10
5
Bun
Bun
JavaScript RuntimeFast JavaScript/TypeScriptFree9.1/10
6
Codex CLI
Codex CLI
AI CodingAI coding with OpenAI modelsChatGPT Plus ($20/mo)8.8/10
7fzfProductivityFuzzy search everythingFree9.0/10
8jqData ProcessingJSON processingFree9.0/10
9ripgrep (rg)SearchFast code searchFree9.0/10
10
gh
gh
Version ControlGitHub workflowFree8.9/10
11lazygitVersion ControlVisual git in terminalFree8.8/10
12zoxideNavigationFast directory navigationFree8.7/10
13
bat
bat
File ViewingSyntax-highlighted file viewingFree8.6/10
14httpieAPI TestingAPI testing and debuggingFree8.5/10
15ezaFile ListingPretty file listingsFree8.4/10

BY CATEGORY

AI Coding

Claude Code9.5/10
Gemini CLI9.0/10
Codex CLI8.8/10

Local AI

Ollama9.3/10

Package Management

uv9.2/10

JavaScript Runtime

Bun9.1/10

Version Control

gh8.9/10
lazygit8.8/10

Search

ripgrep (rg)9.0/10

Productivity

fzf9.0/10

Data Processing

jq9.0/10

Navigation

zoxide8.7/10

File Viewing

bat8.6/10

API Testing

httpie8.5/10

File Listing

eza8.4/10

How We Pick

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.

See these tools in action

I make videos showing real terminal workflows with these tools. AI coding agents, local models, productivity setups, and more.

AI Development Stack

Get Smarter About AI Dev

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

One email per weekReal code, not theoryFree forever

Try the member tools free