---
sidebar_position: 2
---

# Installation

Install Claude Code Router globally using your preferred package manager.

## Prerequisites

- **Node.js**: >= 18.0.0
- **pnpm**: >= 8.0.0 (if using pnpm)
- An API key from your preferred LLM provider

## Install via npm

```bash
npm install -g @musistudio/claude-code-router
```

## Install via pnpm

```bash
pnpm add -g @musistudio/claude-code-router
```

## Install via Yarn

```bash
yarn global add @musistudio/claude-code-router
```

## Verify Installation

After installation, verify that `ccr` is available:

```bash
ccr --version
```

You should see the version number displayed.

## Next Steps

Once installed, proceed to [Quick Start](/docs/quick-start) to configure and start using the router.
