🦀 Written in Rust

Fix your command-line mistakes instantly

A blazingly fast typo corrector for your terminal. 177+ rules, sub-50ms startup, one binary.

Terminal
$ git psuh
git: 'psuh' is not a git command. Did you mean 'push'?
$ oops
git push [enter/↑/↓/ctrl+c]

Quick Install

curl -fsSL https://animeshkundu.github.io/oops/install.sh | bash
irm https://animeshkundu.github.io/oops/install.ps1 | iex
brew install animeshkundu/tap/oops
cargo install --git https://github.com/animeshkundu/oops

Then add eval "$(oops --alias)" to your shell config. Full instructions →

Why developers love oops

Built for speed, designed for convenience

Blazingly Fast

Sub-50ms startup time means instant corrections. No more waiting for your typo fixer to load.

📦

Single Binary

No runtime dependencies, no Python interpreter, no virtual environments. Just one executable.

🎯

177+ Rules

Comprehensive coverage for Git, package managers, system commands, cloud CLIs, and more.

🖥️

Cross-Platform

Works on Linux, macOS, and Windows. Native binaries for x86_64 and ARM64.

🐚

Shell Integration

First-class support for Bash, Zsh, Fish, PowerShell, and Tcsh. One command setup.

🔄

thefuck Compatible

Environment variables work identically. Easy migration from the Python original.

Performance that matters

10x faster than Python alternatives

oops Rust
Startup Time
~30ms
Binary Size
~5MB
Memory Usage
~10MB
vs
thefuck Python
Startup Time
~300ms
Binary Size
N/A (requires Python)
Memory Usage
~50MB
10x Faster Startup
5x Less Memory
0 Dependencies

Comprehensive rule coverage

177+ rules for all your command-line needs

Git

Push, checkout, branch, add, commit, rebase, stash, and 40+ more git corrections

Package Managers

apt, brew, cargo, npm, pip, pacman, dnf, yum, conda, gem, choco, and more

Docker & Containers

Docker, docker-compose, kubectl, and container orchestration commands

System Commands

sudo, chmod, mkdir, cp, mv, rm, and file operation corrections

Cloud CLIs

AWS CLI, Azure CLI, gcloud, Heroku, Terraform, and cloud platform commands

Dev Tools

Go, Java, Maven, Gradle, Python, Rails, React Native, and more

Migrating from thefuck?

Switching is easy. Your muscle memory stays intact.

  • Same environment variables — full compatibility
  • Use TF_ALIAS=fuck to keep your alias
  • TOML config instead of Python — simpler, faster
  • 177+ of the same rules you know and love
Migration Guide →
Before
# Your old shell config
eval "$(thefuck --alias)"
After
# Your new shell config
eval "$(oops --alias)"

Get started in seconds

One-liner install for every platform

🐧

Linux

curl -fsSL https://animeshkundu.github.io/oops/install.sh | bash

Supports x86_64 and ARM64

🍎

macOS

curl -fsSL https://animeshkundu.github.io/oops/install.sh | bash

Intel and Apple Silicon (no Homebrew needed)

🪟

Windows

irm https://animeshkundu.github.io/oops/install.ps1 | iex

PowerShell 5.1+

Shell Integration

After installing, add oops to your shell config:

Add to ~/.bashrc:

eval "$(oops --alias)"

Then run: source ~/.bashrc

Add to ~/.zshrc:

eval "$(oops --alias)"

Then run: source ~/.zshrc

Add to ~/.config/fish/config.fish:

oops --alias | source

Then run: source ~/.config/fish/config.fish

Add to your PowerShell profile ($PROFILE):

Invoke-Expression (oops --alias | Out-String)

Then run: . $PROFILE

Ready to fix your typos?

Join developers who type faster and fix mistakes instantly.