LLM CLI Tools

Terminal-native coding agents from the major providers — install globally with npm.

npm i -g @google/gemini-cli @openai/codex @anthropic-ai/claude-code
ToolPackageProvider
Claude Code@anthropic-ai/claude-codeAnthropic
Codex@openai/codexOpenAI
Gemini CLI@google/gemini-cliGoogle

Notes

  • Each authenticates separately (API key or account login) on first run.
  • Node 18+ required; install with a user-scoped prefix to avoid sudo (see NodeJS / Using brew in a multi-user system).
  • Keep them updated: npm update -g — agent CLIs ship frequently.

Provider-agnostic prompting

Patterns transfer across tools — see Prompt and Latent Space Prompt.