Skip to content

Commit fdae451

Browse files
npm install claude-code replace
1 parent 6fb4a97 commit fdae451

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

registry/coder/modules/claude-code/scripts/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ function install_claude_code_cli() {
3535
if [ "$ARG_INSTALL_CLAUDE_CODE" = "true" ]; then
3636
echo "Installing Claude Code via official installer"
3737
set +e
38-
curl -fsSL claude.ai/install.sh | bash -s -- "$ARG_CLAUDE_CODE_VERSION" 2>&1
38+
# curl -fsSL claude.ai/install.sh | bash -s -- "$ARG_CLAUDE_CODE_VERSION" 2>&1
39+
npm install -g @anthropic-ai/claude-code
3940
CURL_EXIT=${PIPESTATUS[0]}
4041
set -e
4142
if [ $CURL_EXIT -ne 0 ]; then

registry/coder/modules/claude-code/scripts/start.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ function start_agentapi() {
8484
printf "Running claude code with args: %s\n" "$(printf '%q ' "${ARGS[@]}")"
8585

8686
if [ "${ARG_ENABLE_BOUNDARY:-false}" = "true" ]; then
87-
npm install -g @anthropic-ai/claude-code
88-
8987
mkdir -p "$ARG_BOUNDARY_LOG_DIR"
9088
printf "Starting with coder boundary enabled\n"
9189

0 commit comments

Comments
 (0)