https://github.com/anthropics/devcontainer-features
Anthropic Dev Container Features, including Claude Code CLI
https://github.com/anthropics/devcontainer-features
Last synced: 5 months ago
JSON representation
Anthropic Dev Container Features, including Claude Code CLI
- Host: GitHub
- URL: https://github.com/anthropics/devcontainer-features
- Owner: anthropics
- License: mit
- Created: 2025-03-03T05:43:15.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-11T21:38:26.000Z (9 months ago)
- Last Synced: 2025-06-12T10:13:25.809Z (6 months ago)
- Language: Shell
- Size: 47.9 KB
- Stars: 46
- Watchers: 45
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-claude-code - devcontainer-features - features) | 包含 Claude Code CLI 的开发容器功能 | 官方容器支持| (官方仓库)
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:
```json
"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):
```bash
# 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.