Claude Code CLI

Installs Claude Code for the Dev Container user using Anthropic's native installer and ensures `claude` is on the PATH.

Install

Add to devcontainer.json

"features": {
  "ghcr.io/wyrd-company/devcontainers/claude-code-cli:1": {}
}

README

Claude Code CLI

Installs Claude Code for the resolved Dev Container user using Anthropic’s recommended native installer and ensures claude is available on the container PATH.

The executable, updater, and Claude state remain owned by the user rather than root.

Options

OptionTypeDefaultDescription
versionstringlatestClaude Code version to install. Use latest or a specific version like 1.0.58.

Example Usage

{
  "features": {
    "ghcr.io/wyrd-company/devcontainers/claude-code-cli:1": {}
  }
}

Trademarks

This feature is not affiliated with or endorsed by Anthropic, PBC. Claude and its logo are trademarks of Anthropic, PBC. All trademarks and copyrights belong to their holders. The logo is used only to identify the software that this feature installs.

Logo: the Claude spark from the Anthropic press kit (Claude Spark - Clay.svg).

Releases

Latest 1.0.0

Features

  • Installs Claude Code for the Dev Container user with Anthropic’s native installer.
  • Adds claude to the PATH. The executable and its state stay owned by the user, not root.
  • Option version selects the version to install.
All releases