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

# Quick Start

> Get up and running with Claude Code in under 5 minutes.

## Prerequisites

* Node.js and npm (for installation), or [Bun](https://bun.sh)
* An [Anthropic account](https://console.anthropic.com)

## Steps

<Steps>
  <Step title="Install Claude Code">
    Install the package globally with npm:

    ```bash theme={null}
    npm install -g @anthropic-ai/claude-code
    ```
  </Step>

  <Step title="Navigate to your project">
    Change into the directory you want to work in:

    ```bash theme={null}
    cd your-project
    ```
  </Step>

  <Step title="Launch Claude Code">
    Start the interactive REPL:

    ```bash theme={null}
    claude
    ```
  </Step>

  <Step title="Authenticate">
    Inside the REPL, run the login command to sign in with your Anthropic account:

    ```
    /login
    ```

    This opens an OAuth 2.0 flow in your browser. Once you complete it, your credentials are stored securely (on macOS, in the Keychain).
  </Step>

  <Step title="Try your first task">
    Ask Claude something about your codebase:

    ```
    Explain the main entry point of this codebase
    ```

    Claude will read the relevant files and respond with an explanation.
  </Step>
</Steps>

## Your first coding task

Once you're authenticated, try any of these prompts to get a feel for what Claude Code can do:

```
Find all TODO comments in this project and summarize them
```

```
Refactor the largest function in this file to be more readable
```

```
Write a unit test for the login function
```

```
Create a git commit for the changes in my working tree
```

## Common first commands

<CardGroup cols={2}>
  <Card title="/doctor" icon="stethoscope">
    Diagnose and verify your Claude Code installation and settings. Run this if something seems wrong.
  </Card>

  <Card title="/help" icon="circle-question">
    List all available slash commands with their descriptions.
  </Card>

  <Card title="/config" icon="gear">
    View and modify Claude Code settings such as the model, permission mode, and theme.
  </Card>

  <Card title="/memory" icon="brain">
    Manage persistent memory that Claude carries across sessions.
  </Card>
</CardGroup>

<Note>
  The first time Claude Code invokes a tool (such as running a shell command or writing a file), it will prompt you for permission before proceeding. You can allow or deny each action, and configure how permissions are handled going forward via `/config`.
</Note>
