1stars on GitHub
December 4, 2026last update
Golanguage
MITlicense
What it is
A blazingly fast reimplementation of thefuck in Go. Corrects your previous console command in bash, zsh, fish, tcsh and PowerShell.
From its README: go-fuck suggests a fix for your last failed shell command. Run fuck, review the suggestion, and press Enter to apply it. It is a Go reimplementation of thefuck that ships as a single binary.
- Shell integration for bash, zsh, fish, tcsh and PowerShell.
- Machine readable JSON output for editor plugins, scripts and AI agents with --json.
- Interactive confirmation prompt with keyboard navigation, or skip it with -y/--yes.
- Terminal capture for Bash, Zsh, Fish and PowerShell, with explicit auto, instant and rerun
- --explain reports capture provenance, matching rules, explanations, side effects and execution
- Re-runs go-fuck when the corrected command fails with -r/--repeat; --force-command fixes an
- A compact --version line; use --version --verbose for build and environment details.
- A single ember theme for the confirmation prompt, help text, setup messages and
- A JSON settings file with defaults for every option, environment variable overrides using the
- Custom rules as compiled Go rules or declarative JSON files in the configuration directory.
Get it
Latest release: v4.5.3 · December 1, 2026
Port Tracker never links downloads. Get it only from the project’s own repository and its Releases page; files offered in comments or on file hosts are a common scam.