Running Claude Code with Deno or Bun rather than Node?
Status Closed — not planned
Maintainer reply None cached
Activity 12 comments · opened Jul 7, 2025 · closed Feb 28, 2026
Which JS engine do you use to run Claude Code? Node? Deno? Bun? Any experiences in using a non-default engine (that is, not Node)?
Node
claude
or
npx "$HOME/.claude/local/node_modules/.bin/claude"
Deno
deno run -A "$HOME/.claude/local/node_modules/.bin/claude"
Bun
bun --bun "$HOME/.claude/local/node_modules/.bin/claude"
12 Comments
bun --bun "$HOME/.bun/bin/claude" gets it working for me. And it seems to run fine.
You can try running the Claude Code using one of the following commands:
Option 1: Install globally and run
Add MCP Server (This works!)
You can add the MCP server using this command:
Known Issues
/idecommand does not successfully connect to the VSCode either.this works:
install Deno
global install Claude code
with
~/.deno/binin your PATHIt seems to work except for the autoUpdate message, if you're on deno this message shows and I don't see a way to disable it:
And I can disable auto-update with the
autoUpdatesoption but not the message. There seems to have been a way to disable the message with anautoUpdateStatusoption but not anymore.The auto-update message showed because it wasn't on the latest version. After upgrading it went away.
I'm going to have
autoUpdatesbedisabled. It would be nice if it showed a message saying an update is available and to manually install it rather than saying auto-update failed when this is disabled.Edit: I had to set
autoUpdatestoenabledagain as the message comes back – even when it's on the latest version. Apparently it's running the command to check for updates and my old version of node that I have in this container is working in that instance. Thinking of making a drop-in partial replacement for npm with deno that doesn't install anything but checks that it's up-to-date and fails if a new version found.Edit: as I was sending the last message claude code jumped from
1.0.103to1.1.105. I can have autoUpdates disabled and the message only shows if there is a newer version available!This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
After installing with bun - it works but I get a fork in node. Is this normal?
It appears only Bun is supported going forward. Disappointing.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.