Skip to content

Commit b2d7051

Browse files
authored
chore(devfile): add command to install claude (#359)
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
1 parent 1126161 commit b2d7051

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.devfile.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,9 @@ commands:
5454
--output-file:/tmp/devworkspace-che-code-latest.yaml \
5555
--injectDefaultComponent:true \
5656
--defaultComponentImage:registry.access.redhat.com/ubi8/openjdk-11:latest
57+
- id: install-claude-code
58+
exec:
59+
label: "Install Claude Code"
60+
component: builder
61+
workingDir: ${PROJECT_SOURCE}
62+
commandLine: "npm install -g @anthropic-ai/claude-code"

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"redhat.vscode-yaml",
55
"Orta.vscode-jest",
66
"cnshenj.vscode-task-manager",
7-
"RooVeterinaryInc.roo-cline"
7+
"RooVeterinaryInc.roo-cline",
8+
"anthropic.claude-code"
89
]
910
}

0 commit comments

Comments
 (0)