macOS
brew install thefucklocal Homebrew formula metadata
sudo port install thefuckMacPorts ports tree · python/thefuck/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de thefuck pour les workflows d'agents IA.
installation
brew install thefucklocal Homebrew formula metadata
sudo port install thefuckMacPorts ports tree · python/thefuck/Portfile · Source: api.github.com
sudo apk add thefuckAlpine Linux edge package indexes · thefuck · Source: dl-cdn.alpinelinux.org
sudo apt install thefuckDebian stable package indexes · thefuck · Source: deb.debian.org
sudo dnf install thefuckFedora Rawhide package metadata · thefuck · Source: dl.fedoraproject.org
sudo pacman -S thefuckArch Linux sync databases · thefuck · Source: geo.mirror.pkgbuild.com
aperçu
Programmatically correct mistyped console commands
historique
The Fuck is a Python command-line utility for correcting a previously failed shell command. Its official README presents it as an app inspired by a tweet and built around the `fuck` alias, which lets a user rerun a corrected version of the last command after errors such as missing `sudo`, misspelled Git subcommands, command-not-found typos, or bad package-manager invocations.
The project grew around a rules engine: the README says it matches the previous command against enabled rules, creates a replacement command, and executes it after confirmation. The rule list spans common developer and system tools, including package managers, Git, Docker, language toolchains, shells, and file utilities, making the project less a spelling corrector than a catalog of everyday terminal failure modes.
The Fuck became unusually visible for a shell helper: the official GitHub page shows tens of thousands of stars and thousands of forks, while the assigned package facts list packages across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, and other ecosystems. Its README also documents installation through Homebrew, FreeBSD packages, Chromebrew, Arch packages, and pip, which reflects the tool's spread through both language and OS package-manager culture.
The normal workflow is to install the package, add `eval $(thefuck --alias)` to a shell startup file, run a command that fails, and then type the alias to accept or select a corrected command. The README also documents options such as running without confirmation, recursively retrying fixes, customizing rules in `settings.py`, and using environment variables to tune behavior.
For package nerds, The Fuck is interesting because many of its examples and built-in rules encode package-manager ergonomics: it can add `sudo` for `apt-get`, correct Chocolatey package suffixes, fix Homebrew- and system-tool-adjacent command mistakes, and turn common install-time errors into repeatable command rewrites. It is also a good example of a package whose memorable command name helped it become a cross-distro terminal utility.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/thefuck/settings.pyexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
fuck | cli | exécutable global | |
thefuck | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/nvbn/thefuck
métadonnées d'installation
| Clé du paquet | brew:thefuck |
|---|---|
| Version | 3.32 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/thefuck |
| Page d'accueil | https://github.com/nvbn/thefuck |
| Dépôt | https://github.com/nvbn/thefuck |
| Docs amont | https://github.com/nvbn/thefuck#readme |
| Licence | MIT |
| Archive source | https://files.pythonhosted.org/packages/ac/d0/0c256afd3ba1d05882154d16aa0685018f21c60a6769a496558da7d9d8f1/thefuck-3.32.tar.gz |
| Dernière mise à jour | 2026-07-14T17:14:18+09:00 |
| Pulse | updated |
| Dépendances | python@3.14 |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
| Précautions | 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 |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | thefuck |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
thefuck 3.32-0.3
spelling corrector of console commands
https://github.com/nvbn/thefuck
sudo apt install thefuckthefuck 3.29-0.3ubuntu1
spelling corrector of console commands
https://github.com/nvbn/thefuck
sudo apt install thefuckthefuck 3.32-r6
The Fuck is a magnificent app that corrects errors in previous console commands.
https://github.com/nvbn/thefuck
sudo apk add thefuckthefuck-pyc 3.32-r6
Precompiled Python bytecode for thefuck
https://github.com/nvbn/thefuck
sudo apk add thefuck-pycthefuck 3.32-20.fc44
App that corrects your previous console command
https://github.com/nvbn/thefuck
sudo dnf install thefuckthefuck 3.32-12
Magnificent app which corrects your previous console command
https://github.com/nvbn/thefuck
sudo pacman -S thefuckthefuck
sudo port install thefuckpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.