# claude-code

> For the complete documentation index, see [llms.txt](https://docs.ringleader.dev/llms.txt).


> The Claude Code CLI, installed globally with npm and configured to bypass permission prompts by default.


Installs the Claude Code CLI (`claude`) as the global npm package `@anthropic-ai/claude-code`.

```yaml
devtools:
  - name: nodejs
  - name: claude-code
```

That is the whole install. Claude Code then opens without permission prompts.
[Claude Code defaults](https://docs.ringleader.dev/workstations/coding-agents/coding-agent-setup/#claude-code-defaults)
lists its defaults. Add a [`claude-code` toolconfig](https://docs.ringleader.dev/reference/tools/tool-configuration/claude-code/)
only to change a default or to add MCP servers, settings or trusted folders. To sign in, see
[Sign in to a coding agent](https://docs.ringleader.dev/workstations/coding-agents/coding-agent-setup/#sign-in-to-a-coding-agent).

## Version behavior

| `version` | Result |
|-----------|--------|
| omitted | the latest published release at the time of the first install |
| `1.2.3` | that exact npm version |

A workstation where `claude` runs keeps the release it has. A changed `version` replaces that
release on the next configuration pass. If `claude` is on the PATH but fails to run, Ringleader
installs it again.

## Updates

With `updatePolicy: latest` and no `version`, Claude Code takes the
[npm route](https://docs.ringleader.dev/reference/tools/devtools/#update-routes): about once a day, it moves to the newest npm release. A Claude Code session that is already running keeps
its release, and the next session starts on the new one.
Claude Code's own updater stays off, so this daily pass is what keeps it current.

## Node.js

The recipe needs npm. [Node.js for coding agents](https://docs.ringleader.dev/reference/tools/devtools/nodejs/#nodejs-for-coding-agents)
says which Node.js Claude Code runs on and what Ringleader installs when you declare none.

## Notes

- The binary lands on the system PATH, so it works for the login user and for `root`.
- [Memory and outbound traffic](https://docs.ringleader.dev/workstations/coding-agents/coding-agent-setup/#memory-and-outbound-traffic)
  says how much memory to give the workstation.
- Works on Debian, Ubuntu, and Alpine.

