An AI-powered command corrector that runs entirely on your machine. No API keys, no cloud, no internet required after setup.
curl -fsSL https://animeshkundu.github.io/fix/install.sh | sh
irm https://animeshkundu.github.io/fix/install.ps1 | iex
cargo install --git https://github.com/animeshkundu/fix fix-cli
Installs both wit (smart) and fix (fast). Model downloads automatically (~1GB for wit)
AI-powered corrections without compromising your privacy
Your commands never leave your machine. No telemetry, no API calls, no data collection. What happens in your terminal stays in your terminal.
Sub-100ms inference on Apple Silicon with Metal GPU. Near-instant corrections that keep up with your typing speed.
After the initial one-time model download, everything runs locally. Perfect for air-gapped environments or unreliable connections.
Uses a fine-tuned Qwen3-0.6B model that understands shell command patterns. Handles novel typos that rule-based systems would miss.
Native binaries for macOS (Intel and Apple Silicon), Linux (x64, ARM64), and Windows. GPU acceleration where available.
No Python, no Node.js, no runtime dependencies. Just one executable that downloads its model on first run.
Your commands are private. Keep them that way.
Common typos fixed instantly
gti status
→
git status
git pul origin main
→
git pull origin main
dcoker ps -a
→
docker ps -a
docker biuld -t myapp .
→
docker build -t myapp .
npm isntall
→
npm install
pip instal requests
→
pip install requests
kubeclt get pods
→
kubectl get pods
kubectl delte pod nginx
→
kubectl delete pod nginx
cagro build --release
→
cargo build --release
cargo tset
→
cargo test
pytohn script.py
→
python script.py
pyton -m venv myenv
→
python -m venv myenv
Simple setup, powerful results
Download the single binary for your platform. No dependencies required.
On first use, fix downloads a small AI model (~400MB) fine-tuned for shell commands.
Run fix "your typo" and get the corrected command instantly. No internet needed.
Install in seconds, works forever
curl -fsSL https://animeshkundu.github.io/fix/install.sh | sh
x86_64 and ARM64 supported
curl -fsSL https://animeshkundu.github.io/fix/install.sh | sh
Intel and Apple Silicon with Metal GPU
irm https://animeshkundu.github.io/fix/install.ps1 | iex
PowerShell 5.1+
Set up a shortcut to automatically correct and run your last failed command
After setup, just type fix with no arguments to correct your previous command. Supported on all major shells across macOS, Linux, and Windows.
Add to ~/.bashrc:
fix() { if [[ -n "$1" ]]; then command fix "$@"; else local cmd=$(fc -ln -1); local c=$(command fix "$cmd"); echo "→ $c"; eval "$c"; fi; }
Add to ~/.zshrc:
fix() { if [[ -n "$1" ]]; then command fix "$@"; else local cmd=$(fc -ln -1); local c=$(command fix "$cmd"); echo "→ $c"; eval "$c"; fi; }
Add to ~/.config/fish/functions/fix.fish:
function fix --wraps='command fix'; if test (count $argv) -gt 0; command fix $argv; else; set c (command fix (history --max=1)); echo "→ $c"; eval $c; end; end
Add to your $PROFILE:
function fix { if ($args) { & fix.exe @args } else { $c = & fix.exe (Get-History -Count 1).CommandLine; Write-Host "→ $c"; iex $c } }
Add to ~/.tcshrc (use fixlast to correct last command):
alias fixlast 'set _cmd = `history -h 1` && set _fix = `fix "$_cmd"` && echo "→ $_fix" && eval "$_fix"'
Use fix directly (cmd has limited history access):
fix.exe "gti status"
Join developers who type faster and let AI handle the mistakes.