Claude Code runs shell commands constantly — finding files, searching code, processing JSON, running scripts. The default Unix tools (find, grep, sed, node) work, but modern replacements written in Rust and Zig are significantly faster.
Installing these tools and telling Claude Code to prefer them can noticeably speed up your workflow.
| Default tool | Modern replacement | Speedup | Purpose |
|---|---|---|---|
node / npm |
bun | 4-25x | Run JS/TS, install packages |
grep |
ripgrep (rg) |
5-10x | Search file contents |
find |
fd | 5-10x | Find files by name/pattern |
sed |
sd | 2-5x | Find-and-replace in files |
| n/a | jq | n/a | JSON processing (essential, often missing) |
| n/a | GNU parallel | n/a | Run shell tasks concurrently |
# Install bun (has its own installer)
curl -fsSL https://bun.sh/install | bash
# Install the rest via Homebrew
brew install ripgrep fd sd jq parallelNote: The Windows instructions below were verified against package registries but not tested on a live machine. If you hit any issues, please leave a comment — I'd love to get these right.
Windows has three package managers. Pick one approach and stick with it.
winget install Oven-sh.Bun
winget install BurntSushi.ripgrep.MSVC
winget install sharkdp.fd
winget install jqlang.jqNote: sd is not available via winget. Install it with scoop (scoop install sd) or cargo (cargo install sd).
First install scoop if you don't have it:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-ExpressionThen install the tools:
scoop install bun ripgrep fd sd jqGNU parallel is a Unix tool with no native Windows version. Use it through WSL:
wsl --installThen inside your WSL terminal:
sudo apt-get install parallelThe key step: add these tools to your ~/.claude/CLAUDE.md file so Claude Code knows they're available. Without this, Claude Code will fall back to the slower defaults.
Add this section to your CLAUDE.md:
## Installed CLI tools
- **bun** is installed — prefer over `node`/`npm` for running scripts, installing packages, and executing JS/TS
- **ripgrep** (`rg`) is installed — prefer over `grep` for shell searches
- **fd** is installed — prefer over `find` for file finding by name/pattern
- **sd** is installed — prefer over `sed` for find-and-replace in files
- **jq** is installed — use for JSON processing in shell pipelines
- **GNU parallel** is installed — use for concurrent shell tasks when beneficialClaude Code reads CLAUDE.md at the start of every session. When it sees these instructions, it will reach for the faster tool every time it needs to search, find, or process something in the shell.
The speed gains compound quickly. A typical coding session involves dozens of file searches, content greps, and script executions. Shaving milliseconds off each one adds up.
After installing, confirm everything works:
bun --version
rg --version
fd --version
sd --version
jq --version
parallel --versionStart a new Claude Code session and ask it to find a file or search for a pattern — it should use the modern tools automatically.
Written and tested with Claude Code — the same AI I teach with and build with every day.