anthropics / anthropics/claude-code

[BUG] Claude Code 2.1.269 (win32-x64) launches as Bun instead of Claude

Open
#93,943 0 comments 0 reactions 0 assignees View on GitHub
area:packaging bug platform:windows regression
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code

### What's Wrong?

@anthropic-ai/claude-code@2.1.269, installed via npm on Windows, ships a win32-x64 native binary
whose embedded launcher does not run. Executing claude prints Bun's CLI help, and claude --version
reports the Bun runtime version instead of the Claude Code version. The PE metadata still claims
Claude Code. Version 2.1.268 (previous) and 2.1.270 (next) are both unaffected on the same machine.

### What Should Happen?

claude should be opened without error

### Error Messages/Logs

```shell

```

### Steps to Reproduce

1

### Claude Model

None

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

_No response_

### Claude Code Version

v2.1.270

### Platform

Other

### Operating System

Windows

### Terminal/Shell

Terminal.app (macOS)

### Additional Information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.