Claude Code ships binaries for a handful of popular platforms. What about everyone else?
This repo, that's what.
Download clode for your system,
then run clode fetch and clode build to:
- Fetch upstream
claude(Linux-x64, not that it matters) - Extract its embedded JavaScript
- Rebase Bun-specific calls onto Node equivalents
- Back Node API with (mostly) txiki.js
- Compile to QuickJS-NG bytecode
- Write native
quaude
quaude is claude under QuickJS. Run it on your weird computer. Have fun.
(If your computer's Node-compatible and you want that runtime instead,
clode build --naude writes naude, replacing steps 4 and 5 with an embedded Node interpreter.)
bashfor basic tool usebfs>= 3.x (built with Oniguruma)ugrep>= 7.5.0rg
Run clode fetch and clode build again.
Some features are at least temporarily missing: computer-use,
image/sharp, audio capture, runtime TypeScript, MSAL, and perhaps
other Bun.* stubs.
clode is a hilarious hack that will inevitably stop working. It
attempts to be reasonably robust against many failure modes, but
can't possibly defend against all of them. Run quaude on your
weird computer while you still can.