From 40b06d48a5466edc59ea27c49a7dc201b0bcb051 Mon Sep 17 00:00:00 2001 From: Bijan Camp <8800015+bijancamp@users.noreply.github.com> Date: Wed, 26 Nov 2025 22:51:36 -0600 Subject: [PATCH] Enable Claude Code auto-updates --- src/claude-code/install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/claude-code/install.sh b/src/claude-code/install.sh index b115c9e..e77dd2a 100755 --- a/src/claude-code/install.sh +++ b/src/claude-code/install.sh @@ -95,6 +95,14 @@ install_claude_code() { if command -v claude >/dev/null; then echo "Claude Code CLI installed successfully!" claude --version + + # Ensure correct permissions for auto-updates + local global_node_modules=$(npm root -g) + if [ -d "$global_node_modules/@anthropic-ai" ]; then + chmod -R g+rw "$global_node_modules/@anthropic-ai" \ + || echo "WARNING: Could not set permissions on install directory" + fi + return 0 else echo "ERROR: Claude Code CLI installation failed!"