Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on macOS
Rewrite your whole app in Rust, one piece at a time, checked against the original's recorded behavior at every step. CLIs, HTTP servers and libraries in TypeScript, Python, C, Go, Ruby and Java.
GitHub didn't answer, so this is the saved copy from 13 h ago
Will it work on macOS?
| Agent | rust-anything setup adds |
| --- | --- |
| Claude Code | MCP server in ~/.claude.json, skill in ~/.claude/skills/ |
| Codex | MCP server in ~/.codex/config.toml, skill in ~/.codex/skills/ |
| Cursor | MCP server in ~/.cursor/mcp.json |
| Gemini CLI | MCP server in ~/.gemini/settings.json |
| Any other MCP client | add rust-anything mcp as a stdio server by hand (see Install) |
Before changing a file that exists, setup saves a copy beside it (<file>.rust-anything.bak).
Or run the steps yourself:
<p align="center"> <img src="docs/assets/terminal.gif" alt="rust-anything profile finds fuzzyScore in a loop, bridge --batch generates the Rust crate, gate passes with 2000/2000 recorded cases, and the benchmark shows 20.7x faster than TS." width="820"> </p>rust-anything profile . -- node bench.mjs # what is hot, and who calls it
rust-anything bridge . src/fuzzy.ts --batch fuzzyScore:text
# write src/port.rs (or let your agent), then:
rust-anything record rust/fuzzy-rs && rust-anything build rust/fuzzy-rs
rust-anything diff rust/fuzzy-rs # every recorded case must match
rust-anything bench rust/fuzzy-rs # faster? the verdict says
rust-anything gate rust/fuzzy-rs # done means this passes
rust-anything does not translate code: your coding agent (Claude Code, Codex, Cursor, ...) or you write the Rust. rust-anything supplies what an agent cannot guess reliably: where the time goes, what to port first and in which order, a bridge so the rest of the code calls the Rust with its API unchanged, the exact behavior the port must match, a safe way to ship it, and a gate that says when a port is done.
curl -LO "https://github.com/erkamyaman/rust-anything/releases/download/v1.4.0/rust-anything-v1.4.0-aarch64-apple-darwin.tar.gz" tar -xzf "rust-anything-v1.4.0-aarch64-apple-darwin.tar.gz"
curl -LO "https://github.com/erkamyaman/rust-anything/releases/download/v1.4.0/rust-anything-v1.4.0-x86_64-apple-darwin.tar.gz" tar -xzf "rust-anything-v1.4.0-x86_64-apple-darwin.tar.gz"
Choose one way. Most people should use the recommended one; the rest are other options.
cargo install rust-anything # from crates.io
cargo install rust-anything # update (Cargo)
npm install -g rust-anything@latest # update (npm)
cargo install rust-anything
npm install -g rust-anything
From the README, exactly as the maintainers wrote it.
No reports for macOS yet.
GitManual AI Agent reads the 5 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.