Skip to content

Commit b3a5ee1

Browse files
committed
Add Claude Code CLI and extension by default
Install Claude Code CLI via npm in postCreateCommand and include the Claude Dev VS Code extension for AI-assisted development. Changes: - Added Claude Code CLI installation via npm - Added anthropic.claude-dev VS Code extension - Updated postCreateCommand to verify claude installation - Updated CI tests to check for claude CLI - Updated README to list Claude Code in features Signed-off-by: Ihor Dvoretskyi <[email protected]>
1 parent 0947159 commit b3a5ee1

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"github.copilot-chat",
4242
"redhat.vscode-yaml",
4343
"ms-python.python",
44-
"ms-python.vscode-pylance"
44+
"ms-python.vscode-pylance",
45+
"anthropic.claude-dev"
4546
],
4647
"settings": {
4748
"editor.formatOnSave": true,
@@ -53,6 +54,6 @@
5354
}
5455
}
5556
},
56-
"postCreateCommand": "python3 --version && node --version && docker --version && gh --version && echo 'Development environment ready'",
57+
"postCreateCommand": "npm install -g @anthropic-ai/claude-code && python3 --version && node --version && docker --version && gh --version && claude --version && echo 'Development environment ready'",
5758
"remoteUser": "vscode"
5859
}

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ jobs:
5656
which gh || echo "gh is missing"
5757
which node || echo "node is missing"
5858
which npm || echo "npm is missing"
59+
which claude || echo "claude is missing"
5960
# Test essential packages
6061
python3 --version
6162
node --version
6263
docker --version
6364
gh --version
65+
claude --version
6466
curl --version
6567
jq --version

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ This repository serves as an optimized GitHub Codespaces template for general de
1414
- Git (OS-provided)
1515
- Docker-in-Docker with Docker Compose v2
1616
- GitHub CLI
17+
- Claude Code CLI
1718
- Zsh with common utilities
1819
- Build essentials (gcc, make, etc.)
1920
- VS Code extensions:
21+
- Claude Dev (Anthropic)
2022
- Python language support
2123
- Docker support
2224
- GitHub Copilot
@@ -26,11 +28,11 @@ This repository serves as an optimized GitHub Codespaces template for general de
2628

2729
The devcontainer balances speed with operability:
2830

29-
- Includes essential tools: Python, Node.js, Docker, Git, GitHub CLI
31+
- Includes essential tools: Python, Node.js, Docker, Git, GitHub CLI, Claude Code CLI
3032
- Disabled package upgrades during build
3133
- Removed heavy features (kubectl, helm, minikube, sshd)
3234
- Uses OS-provided Git for faster builds
33-
- Streamlined postCreateCommand with version checks
35+
- Installs Claude Code CLI via npm in postCreateCommand
3436
- Core VS Code extensions only
3537

3638
Estimated startup time: 2-3 minutes

0 commit comments

Comments
 (0)