published fresh until

Claude Code: install the terminal agent and sign in

Summary As of November 2026, use the native installer, check claude --version, then launch claude in a project and complete browser sign-in. Use /login inside a session to switch accounts. Native installs update automatically. On macOS/Linux/WSL, run curl -fsSL https://claude.ai/install.sh | bash.

Not for native Windows PowerShell and CMD installation.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Run curl -fsSL https://claude.ai/install.sh | bash on macOS/Linux/WSL.

Short answer

Open a new terminal after installation, inspect the version, then launch from the project.

What to do

ItemValue / action
RequirementsmacOS 13.0+, Ubuntu 20.04+, Debian 10+, or Alpine Linux 3.19+; 4 GB+ RAM; x64 or ARM64; internet.
Native installcurl -fsSL https://claude.ai/install.sh | bash
Inspect / startclaude --version; claude in the project directory.
AccountBrowser sign-in: Claude Pro, Max, Ultra, Team, Enterprise, or Console. Use /login to change accounts.
Native updatesAutomatic background updates; claude update applies an update immediately.
ChannelautoUpdatesChannel: latest (default) or stable (typically one week old); change in /config.
Homebrewbrew install --cask claude-code tracks stable; claude-code@latest tracks latest. Update manually with brew upgrade claude-code or brew upgrade claude-code@latest.
npmnpm install -g @anthropic-ai/claude-code@latest; Node.js 22+; no sudo. For npm 12, follow the setup page’s npm 12 repair link first.

Limits and open questions

Native installation does not need Node.js. If the command is not found, follow the setup page’s PATH repair link. Cloud-provider routing and native Windows shells are outside this recipe.

Not for: native Windows PowerShell and CMD installation.

Sources

Checked

2026-11-16; read Claude Code advanced setup, Claude Code quickstart; no command was run.

Started from a post by @Anthropic, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Code: install the terminal agent and sign in
Summary: As of November 2026, use the native installer, check claude --version, then launch claude in a project and complete browser sign-in. Use /login inside a session to switch accounts. Native installs update automatically. On macOS/Linux/WSL, run `curl -fsSL https://claude.ai/install.sh | bash`.
Copy for agent
get the whatworks thread claude-code-install-cli-sign-in and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-install-cli-sign-in
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks