From 87e441fbb0cabfcc2bd018a5605e4069b06bb99e Mon Sep 17 00:00:00 2001 From: Claude Code Date: Wed, 19 Nov 2025 23:33:57 -0700 Subject: [PATCH] fix: Add shell: true to npx execSync to prevent permission denied error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The execSync call for 'npx agentvibes@latest install' was failing with 'Permission denied' because the shell was trying to execute 'agentvibes@latest' directly instead of passing it as an argument to npx. Adding shell: true ensures the command runs in a proper shell context where npx can correctly interpret the @latest version syntax. šŸ¤– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- tools/cli/commands/install.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cli/commands/install.js b/tools/cli/commands/install.js index d7ff61d6..a9d484d5 100644 --- a/tools/cli/commands/install.js +++ b/tools/cli/commands/install.js @@ -88,6 +88,7 @@ module.exports = { execSync('npx agentvibes@latest install', { cwd: result.projectDir, stdio: 'inherit', + shell: true, }); console.log(chalk.green('\nāœ“ AgentVibes installation complete')); } catch {