Claude Code > 2.1.81 issue in WSL

Resolved 💬 2 comments Opened Mar 29, 2026 by KarimHassan Closed Mar 29, 2026

Preflight Checklist

  • [x] I have searched existing issues 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?

When trying to run Claude Code in WSL after updating the Claude code > 2.1.81 the terminal shows "bash: /home/ubuntu/.local/bin/claude: cannot execute binary file: Exec format error"

What Should Happen?

Claude Code starts properly

Error Messages/Logs

bash: /home/ubuntu/.local/bin/claude: cannot execute binary file: Exec format error

Steps to Reproduce

  1. start claude code in WSL

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.81

Claude Code Version

2.1.83 -> 2.1.87

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗