> ## Documentation Index
> Fetch the complete documentation index at: https://ag2dev.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install Claude Code on macOS and Linux

## System requirements

* **Operating Systems**: macOS, Linux, or Windows WSL2
* **Hardware**: 4 GB+ RAM

## Installation

To install Claude Code, use one of the following methods:

<Tabs>
  <Tab title="Latest Version (default)">
    ```bash theme={null} theme={null}
    curl -fsSL https://claude.ai/install.sh | bash
    ```
  </Tab>

  <Tab title="Stable Version">
    ```bash theme={null} theme={null}
    curl -fsSL https://claude.ai/install.sh | bash -s stable
    ```
  </Tab>

  <Tab title="Specific Version">
    ```bash theme={null} theme={null}
    curl -fsSL https://claude.ai/install.sh | bash -s 2.0.76
    ```
  </Tab>
</Tabs>

After the installation process completes, verify the installation with:

```bash theme={null} theme={null}
claude --version
# 2.0.76 (Claude Code)
```

<Tip>
  Run `claude doctor` after installation to check your installation type and version.
</Tip>

## Authentication

To use Claude Code, a coding plan subscription or an Anthropic-API compatible endpoint is required.

Coding plans utilize a non-token billing model, while API usage operates on a token-based system.

### Coding Plans

* [Coding Plan - Claude](/coding-agents/claude-code/coding-plan-claude)
* [Coding Plan - GLM](/coding-agents/claude-code/coding-plan-glm)
* [Coding Plan - MiniMax](/coding-agents/claude-code/coding-plan-minimax)
