Claude Code in Nethür
Run Claude Code in Nethür with account-aware sessions, usage tracking and account hot-swapping across worktrees.
Claude Code is Anthropic's agentic CLI. Nethür runs it as a first-class terminal agent, with account-aware session start, usage tracking, and account hot-swapping.
Setup
- Install Claude Code (
npm i -g @anthropic-ai/claude-codeor follow Anthropic's docs). - Log in once from any terminal.
- Nethür picks up
~/.claudeautomatically — no extra config needed.
Launching
In any worktree, open a terminal and pick Claude Code from the agent combobox. Nethür launches it with the worktree as the working directory and a status-line hook that emits OSC title events Nethür uses for state dots.
Usage & rate limits
Nethür reads your local ~/.claude usage state and shows current usage plus rate-limit proximity in the status bar. See Usage & rate-limit tracking.
Account hot-swap
Nethür supports multiple Claude accounts and can swap between them in one click, matching the Codex flow. Switching accounts works even with live Claude sessions running — Nethür holds the in-progress switch behind a guard so you don't trigger overlapping auth refreshes. See Hot-swap Codex accounts — the Claude flow is identical in shape.
Subagents and teams
Background subagents and Agent Teams teammates can show as expandable child rows under the lead agent in the worktree agent list and Agent Dashboard. Selecting a child focuses the lead terminal.
Hooks & memory
Claude Code supports per-repo hooks and memory files. Nethür surfaces these under Agent hooks & memory.