thefuck

Install command:
brew install thefuck

Programmatically correct mistyped console commands

https://github.com/nvbn/thefuck

License: MIT

Formula JSON API: /api/formula/thefuck.json

Formula code: thefuck.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 3.32
head ⚡️ HEAD

Depends on:

python@3.13 3.13.2 Interpreted, interactive, object-oriented programming language
Add the following to your .bash_profile, .bashrc or .zshrc:

    eval $(thefuck --alias)

For other shells, check https://github.com/nvbn/thefuck/wiki/Shell-aliases

Analytics:

Installs (30 days)
thefuck 1,673
thefuck --HEAD 1
Installs on Request (30 days)
thefuck 1,672
thefuck --HEAD 1
Build Errors (30 days)
thefuck 4
Installs (90 days)
thefuck 5,025
thefuck --HEAD 13
Installs on Request (90 days)
thefuck 5,023
thefuck --HEAD 13
Installs (365 days)
thefuck 20,258
thefuck --HEAD 42
Installs on Request (365 days)
thefuck 20,255
thefuck --HEAD 42
Fork me on GitHub