Devcontainer Features banner
anthropics anthropics

Devcontainer Features

Development community

Description

Anthropic Dev Container Features, including Claude Code CLI

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Dev Container Features

This repository contains [Dev Container Features](https://containers.dev/implementors/features/), including one that installs the Claude Code CLI.

Contents

  • src/claude-code: The Claude Code CLI feature
  • test: Automated tests for the feature

Usage

To use this feature in your devcontainer, add it to your `devcontainer.json` file:

"features": {
    "ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {}
}

Requirements

The feature automatically depends on Node.js and will install it if not already present.

Building and Testing

You can build and test the feature using the [dev container CLI](https://github.com/devcontainers/cli):

# Test the feature
devcontainer features test -f claude-code .

# Publish the feature
devcontainer feature publish -n anthropics/devcontainer-features .

License

This project is licensed under the MIT License - see the LICENSE file for details.