Automic VaultAutomic Vault

brew

Installer thefuck avec Homebrew, apk, apt, dnf, MacPorts, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de thefuck pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install thefuck

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install thefuck

MacPorts ports tree · python/thefuck/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add thefuck

Alpine Linux edge package indexes · thefuck · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install thefuck

Debian stable package indexes · thefuck · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install thefuck

Fedora Rawhide package metadata · thefuck · Source: dl.fedoraproject.org

Arch Linux pacmanvérifié · 92%
sudo pacman -S thefuck

Arch Linux sync databases · thefuck · Source: geo.mirror.pkgbuild.com

aperçu

Résumé du paquet

Programmatically correct mistyped console commands

Commandes et alias

  • fuck
  • thefuck

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2017: GitHub tags page shows the 3.23 release.
  • 2018: GitHub tags page shows multiple 3.x releases, including 3.26 through 3.28.
  • 2022: GitHub tags page shows release 3.32.
  • Current README: documents package-manager installation, shell alias setup, rule-based correction, settings.py, and environment-variable configuration.

Related projects

  • Related tools in the same terminal-productivity niche include shell history search, command-not-found helpers, package-manager suggestion tools, and shell frameworks that add aliases or completions. The Fuck differs by taking the previous failed command and proposing a runnable replacement.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 1 dépendances d’exécution.

Revue recommandée

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

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/thefuck/settings.py

exécutables

Exécutables installés

CommandeTypeExpositionNote
fuckcliexécutable global
thefuckcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-26
version du gestionnaire3.32
gestionnaire mis à jour2026-07-14
données localesOK
amontnot checked
dernière version détectéenon détecté

https://github.com/nvbn/thefuck

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:thefuck
Version3.32
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/thefuck
Page d'accueilhttps://github.com/nvbn/thefuck
Dépôthttps://github.com/nvbn/thefuck
Docs amonthttps://github.com/nvbn/thefuck#readme
LicenceMIT
Archive sourcehttps://files.pythonhosted.org/packages/ac/d0/0c256afd3ba1d05882154d16aa0685018f21c60a6769a496558da7d9d8f1/thefuck-3.32.tar.gz
Dernière mise à jour2026-07-14T17:14:18+09:00
Pulseupdated
Dépendancespython@3.14
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré
PrécautionsAdd 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

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namethefuck
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

thefuck 3.32-0.3

spelling corrector of console commands

https://github.com/nvbn/thefuck

sudo apt install thefuck
  • Section: python
  • Architecture: all
  • 8 Dépendances
  • normalized package name match
  • Correspondance par : Thefuck
Debian stable package indexes · deb.debian.org · Debian stable package indexes: thefuck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

thefuck 3.29-0.3ubuntu1

spelling corrector of console commands

https://github.com/nvbn/thefuck

sudo apt install thefuck
  • Section: universe/python
  • Architecture: all
  • 7 Dépendances
  • normalized package name match
  • Correspondance par : Thefuck
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: thefuck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

thefuck 3.32-r6

The Fuck is a magnificent app that corrects errors in previous console commands.

https://github.com/nvbn/thefuck

sudo apk add thefuck
  • License: MIT
  • Architecture: x86_64
  • Source Package: thefuck
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Thefuck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: thefuck from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

thefuck-pyc 3.32-r6

Precompiled Python bytecode for thefuck

https://github.com/nvbn/thefuck

sudo apk add thefuck-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: thefuck
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Thefuck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: thefuck-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

thefuck 3.32-20.fc44

App that corrects your previous console command

https://github.com/nvbn/thefuck

sudo dnf install thefuck
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: thefuck
  • 3 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : Thefuck
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: thefuck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

thefuck 3.32-12

Magnificent app which corrects your previous console command

https://github.com/nvbn/thefuck

sudo pacman -S thefuck
  • License: MIT
  • Architecture: any
  • 6 Dépendances
  • normalized package name match
  • Correspondance par : Thefuck
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: thefuck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

thefuck

sudo port install thefuck
  • normalized package name match
  • Correspondance par : Thefuck
MacPorts ports tree · api.github.com · MacPorts ports tree: python/thefuck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment