File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,13 @@ tasks:
80
80
init : |
81
81
./components/gitpod-protocol/go/scripts/generate-config.sh
82
82
leeway exec --filter-type go -v -- go mod verify
83
+ - name : claude code
84
+ command : |
85
+ if [[ ! -z "${CLAUDE_JSON}" ]]; then
86
+ echo "Skipping setup for Claude Code. Setup a CLAUDE_JSON variable to reuse Claude Code in workspaces."
87
+ exit 0
88
+ fi
89
+ echo $CLAUDE_JSON > ~/.claude.json
83
90
vscode :
84
91
extensions :
85
92
- EditorConfig.EditorConfig
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ USER gitpod
127
127
ARG GITPOD_NODE_VERSION=22.15.1
128
128
RUN bash -c ". .nvm/nvm.sh \
129
129
&& nvm install $GITPOD_NODE_VERSION \
130
- && npm install -g typescript yarn"
130
+ && npm install -g typescript yarn @anthropic-ai/claude-code "
131
131
ENV PATH=/home/gitpod/.nvm/versions/node/v${GITPOD_NODE_VERSION}/bin:$PATH
132
132
133
133
# # Register leeway autocompletion in bashrc
You can’t perform that action at this time.
0 commit comments