When your OS isn't popular or your computer isn't recent, how do you run Claude Code?
Download clode for your potato, then do this once:
mv clode-* clode && chmod +x clode
./clode fetch && ./clode buildDo this as many times as necessary until you believe it:
./quaudeHave fun.
This repo contains no Anthropic code, only a tool that does these things by request:
- Fetch upstream
claude(nearest match for your OS and arch) - 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
(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.0
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.