Automic VaultAutomic Vault

brew

thefuck mit Homebrew, apk, apt, dnf, MacPorts, pacman installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für thefuck in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install thefuck

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install thefuck

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

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add thefuck

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

Debian aptverifiziert · 92%
sudo apt install thefuck

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

Fedora dnfverifiziert · 92%
sudo dnf install thefuck

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

Arch Linux pacmanverifiziert · 92%
sudo pacman -S thefuck

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

Überblick

Paketzusammenfassung

Programmatically correct mistyped console commands

Befehle und Aliase

  • fuck
  • thefuck

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 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.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
fuckcliglobales Executable
thefuckcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-26
Manager-Version3.32
Manager aktualisiert2026-07-14
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/nvbn/thefuck

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:thefuck
Version3.32
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/thefuck
Homepagehttps://github.com/nvbn/thefuck
Repositoryhttps://github.com/nvbn/thefuck
Upstream-Dokumentationhttps://github.com/nvbn/thefuck#readme
LizenzMIT
Quellarchivhttps://files.pythonhosted.org/packages/ac/d0/0c256afd3ba1d05882154d16aa0685018f21c60a6769a496558da7d9d8f1/thefuck-3.32.tar.gz
Zuletzt aktualisiert2026-07-14T17:14:18+09:00
Pulseupdated
Abhängigkeitenpython@3.14
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert
EinschränkungenAdd the following to your .bash_profile, .bashrc or .zshrc: eval $(thefuck --alias) For other shells, check https://github.com/nvbn/thefuck/wiki/Shell-aliases

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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