# Devtools

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

> Curated install recipes for the tools a workstation needs: what each one installs, its versions, and its configuration.


A devtool is a curated install recipe for a development tool that does not come with the
operating system. [Devtools and tool configuration](https://docs-stg.ringleader.dev/workstations/packages-tools-settings/devtools-tool-configuration/) explains how devtools install and
update, and how to declare one.

Each entry accepts exactly these keys. An unknown key (a misspelling, for
example) is refused at apply:

| Field | Type | Description |
|-------|------|-------------|
| `name` | `string` | The recipe name. Must be one of the recipes below; an unknown name fails setup. |
| `version` | `string` | Optional version. What it means is recipe-specific (see each page); omit it for the recipe's default. |
| `updatePolicy` | `string` | `ensure` (the default), `pinned` or `latest`. Whether an installed devtool moves to a newer release. See [Updates](#updates). |
| `config` | `object` | Optional opaque blob, interpreted only by a config-aware recipe: [`kind`](https://docs-stg.ringleader.dev/reference/tools/devtools/kind/), [`playwright`](https://docs-stg.ringleader.dev/reference/tools/devtools/playwright/), [`uv`](https://docs-stg.ringleader.dev/reference/tools/devtools/uv/), [`vscode-web`](https://docs-stg.ringleader.dev/reference/tools/devtools/vscode-web/) and [`spire-agent`](https://docs-stg.ringleader.dev/reference/tools/devtools/spire-agent/). |
| `fatal` | `bool` | Does a failure block the workstation reaching `Configured`? Default `true`, except in a [personal layer](https://docs-stg.ringleader.dev/workstations/configuration/configuration-layers/#personal-layers). |
| `retries` | `int` | Extra attempts within one configuration pass after a failure (0-5). |

## The recipes

### Languages and toolchains

- [go](https://docs-stg.ringleader.dev/reference/tools/devtools/go/): the Go toolchain, pinned from upstream or from the distribution.
- [golangci-lint](https://docs-stg.ringleader.dev/reference/tools/devtools/golangci-lint/): the Go linter, installed with the Go toolchain.
- [mise](https://docs-stg.ringleader.dev/reference/tools/devtools/mise/): the mise tool manager, which installs `mise` packages.
- [nodejs](https://docs-stg.ringleader.dev/reference/tools/devtools/nodejs/): Node.js and npm, from the upstream repository.
- [python](https://docs-stg.ringleader.dev/reference/tools/devtools/python/): the distribution's Python 3, with pip and venv.
- [uv](https://docs-stg.ringleader.dev/reference/tools/devtools/uv/): the uv package installer and a Python for it, which install `pypi` packages.
- [zig](https://docs-stg.ringleader.dev/reference/tools/devtools/zig/): the Zig compiler toolchain, from the official release archives.

### Containers and Kubernetes

- [docker](https://docs-stg.ringleader.dev/reference/tools/devtools/docker/): engine, CLI, Compose v2, and buildx.
- [devcontainer-cli](https://docs-stg.ringleader.dev/reference/tools/devtools/devcontainer-cli/): the reference devcontainer CLI; implied by a devcontainer declaration (see [devcontainer workstations](https://docs-stg.ringleader.dev/workstations/packages-tools-settings/devcontainers/)).
- [kind](https://docs-stg.ringleader.dev/reference/tools/devtools/kind/): the `kind` binary, and optionally a whole cluster with ingress and a load balancer.
- [kubectl](https://docs-stg.ringleader.dev/reference/tools/devtools/kubectl/): the Kubernetes CLI.
- [helm](https://docs-stg.ringleader.dev/reference/tools/devtools/helm/): Helm 4.
- [kubectx](https://docs-stg.ringleader.dev/reference/tools/devtools/kubectx/): fast context switching.
- [kubens](https://docs-stg.ringleader.dev/reference/tools/devtools/kubens/): fast namespace switching.

### AI coding tools and editors

- [claude-code](https://docs-stg.ringleader.dev/reference/tools/devtools/claude-code/): the Claude Code CLI.
- [codex](https://docs-stg.ringleader.dev/reference/tools/devtools/codex/): the Codex CLI.
- [opencode](https://docs-stg.ringleader.dev/reference/tools/devtools/opencode/): the OpenCode CLI.
- [pi](https://docs-stg.ringleader.dev/reference/tools/devtools/pi/): the pi coding agent, with the current Node.js it needs.
- [cursor-agent](https://docs-stg.ringleader.dev/reference/tools/devtools/cursor-agent/): the Cursor CLI agent.
- [agy](https://docs-stg.ringleader.dev/reference/tools/devtools/agy/): the Antigravity CLI.
- [vscode-web](https://docs-stg.ringleader.dev/reference/tools/devtools/vscode-web/): the code-server browser IDE, started for you.

### Cloud CLIs

- [gcloud](https://docs-stg.ringleader.dev/reference/tools/devtools/gcloud/): the Google Cloud CLI.
- [aws](https://docs-stg.ringleader.dev/reference/tools/devtools/aws/): the AWS CLI v2.
- [az](https://docs-stg.ringleader.dev/reference/tools/devtools/az/): the Azure CLI.

### Version control

- [git](https://docs-stg.ringleader.dev/reference/tools/devtools/git/): git itself.
- [gh](https://docs-stg.ringleader.dev/reference/tools/devtools/gh/): the GitHub CLI.
- [fossil](https://docs-stg.ringleader.dev/reference/tools/devtools/fossil/): the Fossil version control system, from the distribution or a pinned release.

### Test and shell tools

- [playwright](https://docs-stg.ringleader.dev/reference/tools/devtools/playwright/): the Playwright CLI plus browser engines and their OS dependencies.
- [fzf](https://docs-stg.ringleader.dev/reference/tools/devtools/fzf/): the fuzzy finder, wired into login shells.

### Host integration

- [passthrough-www-browser](https://docs-stg.ringleader.dev/reference/tools/devtools/passthrough-www-browser/): relay URLs opened inside the workstation to your laptop's browser.

### Identity

- [spire-agent](https://docs-stg.ringleader.dev/reference/tools/devtools/spire-agent/): join the workstation to your own SPIFFE trust domain, so its workloads get SVIDs.

## Distribution support

Every recipe supports Debian and Ubuntu. Most also work on Alpine, using `apk`
packages. Six do not: `gcloud`, `aws`, `az`, `vscode-web`, `cursor-agent` and `agy`. On Alpine,
each of these fails with a message that says why. `fossil` works on Alpine only without a
`version`. Each page states its support.

Downloads always resolve the **workstation's** architecture (`amd64` or `arm64`) at install
time, so the same manifest works on an x86 cloud VM and an Apple-Silicon local VM.

## Updates

A devtool keeps the release it installed until one of three things moves it:

- **A changed `version`.** It takes effect on the next configuration pass. Each devtool's
  page says whether it replaces a release that is already installed.
- **`updatePolicy: latest`.** About once a day, the workstation moves the devtool to a newer
  release, by the route its page names.
- **Operating system updates.** A devtool that installs from a package repository also moves
  when the workstation applies [operating system updates](#operating-system-updates).

To keep a devtool current, leave out `version` and set `updatePolicy: latest`:

```yaml
devtools:
  - name: claude-code
    updatePolicy: latest
```

| `updatePolicy` | An installed devtool |
|---|---|
| `ensure` (the default) | keeps its release |
| `pinned` | keeps its release, the same as `ensure` |
| `latest` | moves to a newer release about once a day |

If a devtool's `version` installs one exact release, `latest` keeps the devtool on that
release. A devtool that does not use `version`, and Node.js within the major its `version`
chooses, still moves by its [update route](#update-routes). When several layers declare the
same devtool, the highest-priority layer's entry applies, `updatePolicy` included.

### Update routes

Each devtool's page says which of these routes `updatePolicy: latest` takes:

- **npm.** The workstation installs the newest release that is at least 24 hours old, or
  the age [`minimumReleaseAge`](#workstation-update-settings) sets.
- **Ringleader's default release.** The workstation installs the release Ringleader installs
  by default, when an update to Ringleader raises it.
- **The vendor's current release.** The workstation installs the newest release the vendor
  publishes.
- **A package repository.** The devtool moves with
  [operating system updates](#operating-system-updates), and on Debian and Ubuntu
  `updatePolicy: latest` can add to them.

On the first three routes, the workstation installs the new release beside the old one. It
checks that the new release runs before it switches the command over. If the install fails or is
stopped, the old release keeps working, and the next day's pass tries again. A program that
is already running, such as a coding agent session, keeps the release it started with.

Some devtools install the packages you declare, and those packages run on them. When one of
these devtools moves, the workstation reinstalls its packages at the versions they already
have:

| Devtool | Its packages |
|---|---|
| `nodejs` | `npm` packages, and the devtools that install from npm |
| `go` | `go` packages |
| `uv` | `pypi` packages |
| `mise` | `mise` packages |

If one of these devtools fails to update, its packages wait for the next pass.

### Operating system updates

A devtool from a package repository, such as `docker`, `gh` or `nodejs`, moves with the
operating system updates the workstation applies. The workstation's
[`updates.system`](#workstation-update-settings) setting decides which updates those are:

| `updates.system` | What the daily pass applies |
|---|---|
| `off` (the default) | nothing, even for a devtool with `updatePolicy: latest` |
| `security` | security fixes. On Debian and Ubuntu, a devtool with `updatePolicy: latest` can also take its repository's other updates, as the list below explains. |
| `all` | every update from the workstation's repositories, whatever a devtool's `updatePolicy` |

Under `security` on Debian and Ubuntu, `updatePolicy: latest` adds the other updates
for a devtool that comes from a package repository. The devtool's `version` decides
which:

- Except for Node.js, a devtool with no `version` takes every other update from its
  repository.
- If the devtool's page says it does not use the `version` field, as for `docker` and `gh`,
  the devtool takes them with or without a `version`.
- Node.js takes newer releases of the major it has installed, with or without a `version`,
  and does not move to the next major. Its `version` only chooses that major. This works only
  for a Node.js installed from the upstream Node.js repository. A Node.js from the
  distribution's own package takes security fixes only.
- If the `version` installs one exact release, as for `go` and `fzf`, the devtool keeps that
  release, because that release does not come from a repository.

If you list a devtool's package, such as `docker-ce` or `nodejs`, under `packages:` with a
`version`, the operating system updates skip that package. They skip it under every
`updates.system` value, whatever the devtool's `updatePolicy` says. Only the package you list
is skipped: the devtool's other packages, such as `docker-ce-cli`, follow the rules above. To
let the package move, remove its `version`.

When `updates.system` is not set, `securityUpdates: true` counts as `security`.

### Workstation update settings

The `updates` block in a Workstation or WorkstationConfig `spec` holds the settings above,
and two more that apply to devtools:

```yaml
spec:
  updates:
    system: security          # off (the default) | security | all
    packages: latest          # latest (the default) | off
    minimumReleaseAge: 3d     # 24h by default
```

`packages: off` stops every `updatePolicy: latest` move, for devtools and for the packages
you declare. `minimumReleaseAge` is how old a release must be before the workstation installs
it. Among devtools, it applies to those that install from npm. Each field takes its value
from the highest-priority layer that sets it.
[Update settings](https://docs-stg.ringleader.dev/reference/resources/workstationconfig/#update-settings)
lists every field of the block, including `reboot`.

### Service restarts and maintenance windows

Three devtools restart a service when they update. `spire-agent` restarts the SPIRE agent and
`vscode-web` restarts the code-server editor. On Debian and Ubuntu, `docker` restarts the
Docker engine, which stops its running containers.

If the workstation declares a maintenance window, the restart waits for it, for at most the
window's `maxDeferral`, 14 days by default. For the first 30 minutes after the update, the
restart also waits for any coding agent turn in progress to finish. Declare the window with
`spec.maintenance` on a Workstation or WorkstationConfig.
[Maintenance windows](https://docs-stg.ringleader.dev/reference/resources/workstationconfig/#maintenance-windows)
lists its fields.

### See what moved

To see each devtool's installed release and any newer release the last check found, run
this on the workstation:

```bash
sudo ringleader-agent updates
```

[Read the update scan's result](https://docs-stg.ringleader.dev/workstations/packages-tools-settings/security-updates/#read-the-update-scans-result)
explains its output.


## Pages in this section

- [go](https://docs-stg.ringleader.dev/reference/tools/devtools/go/index.md): The Go toolchain: an exact upstream release, or the distribution package.
- [golangci-lint](https://docs-stg.ringleader.dev/reference/tools/devtools/golangci-lint/index.md): The golangci-lint Go linter, built with the workstation's Go toolchain onto the system PATH.
- [nodejs](https://docs-stg.ringleader.dev/reference/tools/devtools/nodejs/index.md): Node.js and npm, installed from the upstream apt repository on Debian and Ubuntu.
- [python](https://docs-stg.ringleader.dev/reference/tools/devtools/python/index.md): The distribution's own Python 3, together with pip and the venv module.
- [uv](https://docs-stg.ringleader.dev/reference/tools/devtools/uv/index.md): The uv package installer and a Python for it, which Ringleader uses to install pypi packages.
- [mise](https://docs-stg.ringleader.dev/reference/tools/devtools/mise/index.md): The mise tool manager, which Ringleader uses to install mise packages.
- [zig](https://docs-stg.ringleader.dev/reference/tools/devtools/zig/index.md): The Zig compiler toolchain, from the official release archives.
- [docker](https://docs-stg.ringleader.dev/reference/tools/devtools/docker/index.md): The Docker engine, CLI, Compose v2, and buildx, with the login user in the docker group.
- [devcontainer-cli](https://docs-stg.ringleader.dev/reference/tools/devtools/devcontainer-cli/index.md): The reference devcontainer CLI (@devcontainers/cli), installed globally with npm.
- [kind](https://docs-stg.ringleader.dev/reference/tools/devtools/kind/index.md): A local Kubernetes cluster on the workstation, with an ingress controller and a load balancer, reachable from your laptop.
- [kubectl](https://docs-stg.ringleader.dev/reference/tools/devtools/kubectl/index.md): The Kubernetes CLI, installed as a static binary for the workstation's architecture.
- [helm](https://docs-stg.ringleader.dev/reference/tools/devtools/helm/index.md): Helm 4, installed from the official installer script.
- [kubectx](https://docs-stg.ringleader.dev/reference/tools/devtools/kubectx/index.md): Fast switching between Kubernetes contexts.
- [kubens](https://docs-stg.ringleader.dev/reference/tools/devtools/kubens/index.md): Fast switching between Kubernetes namespaces.
- [claude-code](https://docs-stg.ringleader.dev/reference/tools/devtools/claude-code/index.md): The Claude Code CLI, installed globally with npm and configured to bypass permission prompts by default.
- [codex](https://docs-stg.ringleader.dev/reference/tools/devtools/codex/index.md): The Codex CLI, installed globally with npm.
- [opencode](https://docs-stg.ringleader.dev/reference/tools/devtools/opencode/index.md): The OpenCode CLI, installed globally with npm.
- [pi](https://docs-stg.ringleader.dev/reference/tools/devtools/pi/index.md): The pi coding agent, installed globally with npm, with the Node.js 22.19 or newer it needs.
- [cursor-agent](https://docs-stg.ringleader.dev/reference/tools/devtools/cursor-agent/index.md): The Cursor CLI agent, installed from a specific Cursor release.
- [agy](https://docs-stg.ringleader.dev/reference/tools/devtools/agy/index.md): The Antigravity CLI (agy), Google's coding agent for the terminal, installed from a specific release.
- [vscode-web](https://docs-stg.ringleader.dev/reference/tools/devtools/vscode-web/index.md): VS Code in your browser, running on the workstation: code-server installed, started for you, reachable only from your laptop.
- [gcloud](https://docs-stg.ringleader.dev/reference/tools/devtools/gcloud/index.md): The Google Cloud CLI, from Google's official apt repository.
- [aws](https://docs-stg.ringleader.dev/reference/tools/devtools/aws/index.md): The AWS CLI v2, from Amazon's official self-contained bundle.
- [az](https://docs-stg.ringleader.dev/reference/tools/devtools/az/index.md): The Azure CLI, from Microsoft's official apt repository.
- [git](https://docs-stg.ringleader.dev/reference/tools/devtools/git/index.md): git itself, the install companion to the git tool configuration.
- [gh](https://docs-stg.ringleader.dev/reference/tools/devtools/gh/index.md): The GitHub CLI, the install companion to the gh tool configuration.
- [fossil](https://docs-stg.ringleader.dev/reference/tools/devtools/fossil/index.md): The Fossil version control system, from the distribution or as a pinned official release.
- [playwright](https://docs-stg.ringleader.dev/reference/tools/devtools/playwright/index.md): Playwright with its browsers and their system libraries, ready for a project's browser tests.
- [fzf](https://docs-stg.ringleader.dev/reference/tools/devtools/fzf/index.md): The fzf fuzzy finder, with key bindings and completion wired into login shells.
- [passthrough-www-browser](https://docs-stg.ringleader.dev/reference/tools/devtools/passthrough-www-browser/index.md): Relay URLs opened inside the workstation to your computer's browser, for OAuth and device-code logins.
- [spire-agent](https://docs-stg.ringleader.dev/reference/tools/devtools/spire-agent/index.md): Join a cloud workstation to your own SPIFFE trust domain, so software on it gets SVIDs from the Workload API.

