Back to FAQ
Installation

Can I use claude-multi with bun, npm, pnpm, and Deno?

Yes. It works with every major JavaScript runtime and package manager.

The full list

RuntimeInstall commandMinimum version
Bunbun add -g claude-multiBun 1.x
Node.js (npm)npm install -g claude-multiNode 18+
Node.js (pnpm)pnpm add -g claude-multiNode 18+
Node.js (yarn)yarn global add claude-multiNode 18+
Denodeno install -g npm:claude-multiDeno 1.x

How runtime detection works

The entry point (bin/claude-multi.js) is a polyglot file, valid as both a shell script and a JavaScript module. When you run it, the shell portion checks for bun, then node, then deno in your PATH, and re-executes itself under the first one it finds. You don’t configure anything.

In CI/CD

The project tests against all three runtimes on Linux, macOS, and Windows. The test-install workflow validates that installation and basic execution work on each platform.

About the wrapper scripts

The generated wrappers (~/.local/bin/claude-<name> or similar, depending on your package manager) are plain shell scripts on Unix and batch files on Windows. They just set CLAUDE_CONFIG_DIR and exec the claude binary, no JavaScript runtime needed at that point.

More info