claude-code-chat icon indicating copy to clipboard operation
claude-code-chat copied to clipboard

WSL error: Install claude code first: https://www.anthropic.com/claude-code

Open mapengsen opened this issue 1 year ago • 10 comments

Image Image

I have copied it, but there are still errors.

mapengsen avatar Jul 19 '25 01:07 mapengsen

Same thing without WSL. Node + claude installed and available in pwsh (added to PATH).

inetkachev avatar Jul 19 '25 04:07 inetkachev

Could you please clarify exactly what you mean? Could you please provide some steps?

mapengsen avatar Jul 19 '25 05:07 mapengsen

https://github.com/LKbaba/Claude-code-ChatInWindows

If you want CC UI for windows, watch this.

LKbaba avatar Jul 19 '25 10:07 LKbaba

i get the same for macos.

Image

urizaf-work avatar Jul 20 '25 08:07 urizaf-work

Same here on MacOS.

humcrush-joe avatar Jul 24 '25 21:07 humcrush-joe

Same here on MacOS.

liunice avatar Aug 06 '25 08:08 liunice

Who solved this problem?

djh12345678 avatar Aug 07 '25 03:08 djh12345678

I just started getting this last night. Anyone find a solution?

airowe avatar Aug 13 '25 13:08 airowe

I had the same issue. The problem is that Claude Code was installed but only accessible via alias, not in PATH.

Solutions:

  • macOS/Linux: Create a symlink: sudo ln -s /path/to/your/claude /usr/local/bin/claude or ln -s /path/to/your/claude ~/.local/bin/claude
  • WSL users: Set the executable path in extension settings instead

update:

  • never use ~/.local/bin/claude
  • Claude Code will clean this path, dont know why, but test /doctor will delete the soft link

check @ #110

tonypig avatar Aug 19 '25 06:08 tonypig

Thank you @tonypig ! This did the trick. btw, Mac users, the default Claude install location is: /Users/{your_user_name}/.claude/local/node_modules/.bin/claude

humcrush-joe avatar Aug 19 '25 11:08 humcrush-joe