Source: https://arara.code.app.br/en/articles/how-to-install-claude-code
Language: en-US
Published: 2026-10-31T20:25:00-03:00

Guides and comparisons

# How to install Claude Code on Windows, macOS, and Linux

On macOS, Linux, or WSL, open a terminal and run “curl -fsSL https://claude.ai/install.sh | bash”. On Windows, run “irm https://claude.ai/install.ps1 | iex” in PowerShell. Then open a new terminal, check it with “claude --version”, go to your project folder, and run “claude” to log in through the browser. You need a Pro, Max, Ultra, Team, or Enterprise plan, or a Claude Console account.

Arara Code

Published and sources checked on October 31, 2026.

Published by the Arara Code project based on the official documentation cited.

## Requirements and accounts for Claude Code

According to the Advanced setup page in Anthropic's documentation, Claude Code runs on macOS 13.0 or later, Windows 10 1809 or later, Windows Server 2019 or later, Ubuntu 20.04+, Debian 10+, and Alpine Linux 3.19+. It needs 4 GB of RAM or more, an x64 or ARM64 processor, an internet connection, and one of these shells: Bash, Zsh, PowerShell, or CMD. You also need to be in a country Anthropic supports.

The same page says Claude Code requires a Pro, Max, Ultra, Team, Enterprise, or Claude Console account, and that the free claude.ai plan does not include it. The quickstart describes the Console as API access with prepaid credits. According to Anthropic's help center, the Pro and Max plans have a five-hour session limit and a weekly limit, shared across Claude and Claude Code. Warnings appear as you approach each limit.

[Claude Code with Pro, Max, or Ultra plans (Anthropic)](https://support.claude.com/en/articles/11145838-using-claude-code-with-your-pro-or-max-plan)

## Official install commands for macOS, Linux, and Windows

On macOS, Linux, and WSL, the recommended native install is “curl -fsSL https://claude.ai/install.sh | bash”. The command shows no progress while it downloads. When it finishes, open a new terminal window and run “claude --version”, which should print a version number. The docs also list Homebrew, with “brew install --cask claude-code”, the apt, dnf, and apk package managers, and npm, with “npm install -g @anthropic-ai/claude-code”, which needs Node.js 22 or later and should not run with sudo.

On Windows, run “irm https://claude.ai/install.ps1 | iex” in PowerShell or “curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd” in CMD. You do not need to run as Administrator. If an error mentions the '&&' token, you are in PowerShell; if it says 'irm' is not recognized, you are in CMD. WinGet also works: “winget install Anthropic.ClaudeCode”. Git for Windows is recommended but optional: with it, Claude Code uses Git Bash; without it, it runs commands through PowerShell.

[Claude Code advanced setup (Anthropic)](https://code.claude.com/docs/en/setup)

Related

[Claude Code, Codex and Kiro in one editor: how to use themSee how to use Claude Code, Codex, Kiro and OpenCode in one IDE: official setup, each provider's account, approvals in the side chat and a comparison test.](https://arara.code.app.br/en/articles/claude-code-codex-kiro-in-one-editor)

## First run, sign-in, updates, and troubleshooting

Open a terminal in your project folder and run “claude”. On first use, Claude Code asks you to log in: with a Claude subscription or a Console account, follow the prompts in your browser. Your credentials are stored, so you do not need to log in again. In a session, “/help” lists commands, “/resume” continues an earlier conversation, and “/login” switches accounts. If it asks before changing a file, select Yes to approve, and Shift+Tab switches the permission mode.

According to the Advanced setup page, native installs update in the background, and “claude update” applies an update right away. Homebrew and WinGet installs do not update on their own by default: run “brew upgrade claude-code” or “winget upgrade Anthropic.ClaudeCode”. If your shell says “claude” is not found, the install folder is not on your PATH yet. For a diagnosis, run “claude doctor”, which shows install health, settings errors, and warnings with suggested fixes, without starting a session.

[Claude Code quickstart (Anthropic)](https://code.claude.com/docs/en/quickstart)

## How to install and use Claude Code in Arara Code

Download Arara Code for Windows, Linux, or macOS from the download page and create an Arara account on the Free plan, which requires no card. Open your project folder and mark it as trusted. In the side chat, pick Claude Code in the platform, model, and effort picker. If the CLI is not installed, the panel shows an install card, and the “Download and install” button runs the official Claude Code installer.

Once the CLI is found, the card moves to sign-in: log in with your Claude account in the browser. The account, quotas, and terms stay with Anthropic, and Arara Code does not include Claude usage. The chat shows your plan usage for the 5-hour and weekly windows when Anthropic reports them, and each answer shows how much of the limit it used. Approve or refuse each edit and command, and review the diffs of the changed files.

[Arara Code repository on GitHub](https://github.com/arara-ide/arara-code)

## Sources and further reading

- [Claude Code advanced setup (Anthropic)](https://code.claude.com/docs/en/setup)
- [Claude Code quickstart (Anthropic)](https://code.claude.com/docs/en/quickstart)
- [Claude Code with Pro, Max, or Ultra plans (Anthropic)](https://support.claude.com/en/articles/11145838-using-claude-code-with-your-pro-or-max-plan)
- [Arara Code repository on GitHub](https://github.com/arara-ide/arara-code)

[Read as Markdown](https://arara.code.app.br/en/articles/how-to-install-claude-code.md)

## Keep exploring

### [MCP (Model Context Protocol): what it is and how to use it](https://arara.code.app.br/en/articles/what-is-mcp)

Learn what MCP (Model Context Protocol) is, how servers, tools and transports work, which security rules to follow and how to use it in Arara Code.

[Read the guide](https://arara.code.app.br/en/articles/what-is-mcp)

### [AI-generated code security: data and a checklist](https://arara.code.app.br/en/articles/ai-generated-code-security)

AI-generated code security: what Veracode, GitGuardian and research on invented packages show, plus a checklist based on the OWASP Top 10.

[Read the guide](https://arara.code.app.br/en/articles/ai-generated-code-security)

## Make room for your next idea.

Get to know Arara Code in your own project. Start with the installer and review the changes your assistant makes.

Download Arara Code
