Preflight Checklist
What's Wrong?
Extension Claude code for VS Code latest version 2.1.76 in MacOs gives error
IDE: ✘ Error installing VS Code extension: 1: Command failed with
ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension
anthropic.claude-code
Premature close
Please restart your IDE and try again.
What Should Happen?
Claude code should run without the aforementioned error message
Error Messages/Logs
IDE: ✘ Error installing VS Code extension: 1: Command failed with
ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension
anthropic.claude-code
Premature close
Please restart your IDE and try again.
Steps to Reproduce
Install latest claude code extension in VS Code in MacOs (Sequoia 15.7.3) and run claude
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information

Preflight Checklist
What's Wrong?
Extension Claude code for VS Code latest version 2.1.76 in MacOs gives error
IDE: ✘ Error installing VS Code extension: 1: Command failed with
ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension
anthropic.claude-code
Premature close
Please restart your IDE and try again.
What Should Happen?
Claude code should run without the aforementioned error message
Error Messages/Logs
IDE: ✘ Error installing VS Code extension: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code Premature close Please restart your IDE and try again.Steps to Reproduce
Install latest claude code extension in VS Code in MacOs (Sequoia 15.7.3) and run claude
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information