fix: use VSCode default terminal to find Claude CLI on Windows#465
Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom Jan 17, 2026
fix/windows-claude-cli-path-463breaking-brake/cc-wf-studio:fix/windows-claude-cli-path-463Copy head branch name to clipboard
Merged
fix: use VSCode default terminal to find Claude CLI on Windows#465breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom fix/windows-claude-cli-path-463breaking-brake/cc-wf-studio:fix/windows-claude-cli-path-463Copy head branch name to clipboard
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/windows-claude-cli-path-463breaking-brake/cc-wf-studio:fix/windows-claude-cli-path-463Copy head branch name to clipboard
Conversation
- Use VSCode's terminal.integrated.defaultProfile setting - Execute login shell to get user's full PATH environment - Support version managers (mise, nvm, fnm, volta) - Fallback to pwsh/powershell (Windows) or zsh/bash (Unix) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Merged
|
🎉 This PR is included in version 3.15.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
When running Claude Code CLI in Windows environment,
npxis not recognized.Current Behavior
claudecommand not found, falls back tonpx claudenpxis also not in PATH, execution failsExpected Behavior
claudeornpxSolution
Use VSCode's default terminal setting (
terminal.integrated.defaultProfile) to respect user's shell configuration.Changes
File:
src/extension/services/claude-cli-path.tsterminal.integrated.defaultProfile.{platform}settingwhich(Unix) orGet-Command(Windows)Impact
Testing
npm run format && npm run lint && npm run check && npm run build)Notes
-CommandType Applicationin PowerShell to exclude.ps1wrapper scripts🤖 Generated with Claude Code