Files
oam/knowledge base/ai/claude/claude code.md
2026-02-13 23:07:38 +01:00

2.7 KiB

Claude Code

TODO

Agentic coding tool that reads and edits files, runs commands, and integrates with tools.
Works in a terminal, IDE, browser, and as a desktop app.

  1. TL;DR
  2. Further readings
    1. Sources

TL;DR

Warning

Normally requires an Anthropic account to be used.
One can use Claude Code router or Ollama to run on a locally server or shared LLM instead, but its performances do seem to take an extreme hit.

Uses a scope system to determine where configurations apply and who they're shared with.
When multiple scopes are active, the more specific ones take precedence.

Scope Location Area of effect Shared
Managed (A.K.A. System) System-level managed-settings.json All users on the host Yes (usually deployed by IT)
User ~/.claude/ directory Single user, across all projects No
Project .claude/ directory in a repository All collaborators, repository only Yes (usually committed to the repository)
Local .claude/*.local.* files Single user, repository only No (usually gitignored)
Setup
brew install --cask 'claude-code'
Real world use cases
# Run Claude Code on a model served locally by Ollama.
ANTHROPIC_AUTH_TOKEN=ollama ANTHROPIC_BASE_URL=http://localhost:11434 ANTHROPIC_API_KEY="" claude --model 'lfm2.5-thinking:1.2b'

Further readings

Sources