# Claude Code setup

> What Design Desk needs from Claude Code, how to install it and sign in, and how the app shows its state.

Source: https://designdesk.sh/docs/claude-code-setup

Design Desk runs the official Claude Code on your computer. It never reads, handles or stores your Claude credentials: Claude Code signs in by itself, and your usage counts against your own Claude plan or API key.

## Install

Claude Code needs Node.js. In a terminal, run:

```bash
npm install -g @anthropic-ai/claude-code
```

Design Desk needs Claude Code **2.1.207 or later**. If yours is older, the app says so and shows the same command to update it.

## Sign in

Run `claude` in a terminal and follow its sign-in steps, with your Claude account or an API key. Design Desk can open a terminal for you from its welcome screen.

## How Design Desk shows Claude Code's state

- The bottom of a design's sidebar shows whether Claude Code is connected, working, signed out, missing or offline.
- **Settings › Claude Code › Status** shows the version and whether it's signed in. **Location** shows which Claude Code Design Desk found; **Change…** picks another.
- When you get close to a limit on your plan, the chat says so, with the time it resets.

## What Claude Code may do in a design

Claude can only write inside the design's own folders. In a design opened from a code repository, the rest of the repository is read-only, and shell commands are off. See [Settings › Claude Code](https://designdesk.sh/docs/settings#claude-code).
