# Install thefuck

Programmatically correct mistyped console commands. Version 3.32 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:thefuck
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install thefuck
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install thefuck
```

  Evidence: MacPorts ports tree: python/thefuck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add thefuck
```

  Evidence: Alpine Linux edge package indexes: thefuck from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install thefuck
```

  Evidence: Debian stable package indexes: thefuck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install thefuck
```

  Evidence: Fedora Rawhide package metadata: thefuck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S thefuck
```

  Evidence: Arch Linux sync databases: thefuck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package Facts

- **Package key:** brew:thefuck
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/thefuck>
- **Version:** 3.32
- **Source summary:** Programmatically correct mistyped console commands
- **Homepage:** <https://github.com/nvbn/thefuck>
- **Repository:** <https://github.com/nvbn/thefuck>
- **Upstream docs:** <https://github.com/nvbn/thefuck#readme>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/ac/d0/0c256afd3ba1d05882154d16aa0685018f21c60a6769a496558da7d9d8f1/thefuck-3.32.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- fuck (cli)
- thefuck (cli)
- fuck (alias)
- thefuck (alias)

## Dependencies

- python@3.14

## Install Behavior

- Post-install hook: not defined
- Caveats: 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
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 3.32
- Local data status: ok
- Upstream repository: https://github.com/nvbn/thefuck
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.

## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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:** head, stable

## Other Package-Manager Records

- Debian apt - thefuck - 3.32-0.3: normalized package name match | Debian stable package indexes: thefuck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spelling corrector of console commands | https://github.com/nvbn/thefuck
- Ubuntu apt - thefuck - 3.29-0.3ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: thefuck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | spelling corrector of console commands | https://github.com/nvbn/thefuck
- apk - thefuck - 3.32-r6: normalized package name match | Alpine Linux edge package indexes: thefuck from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | The Fuck is a magnificent app that corrects errors in previous console commands. | https://github.com/nvbn/thefuck
- apk - thefuck-pyc - 3.32-r6: normalized package name match | Alpine Linux edge package indexes: thefuck-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for thefuck | https://github.com/nvbn/thefuck
- dnf - thefuck - 3.32-20.fc44: normalized package name match | Fedora Rawhide package metadata: thefuck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | App that corrects your previous console command | https://github.com/nvbn/thefuck
- pacman - thefuck - 3.32-12: normalized package name match | Arch Linux sync databases: thefuck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Magnificent app which corrects your previous console command | https://github.com/nvbn/thefuck
- MacPorts - thefuck: normalized package name match | MacPorts ports tree: python/thefuck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/ja/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [nushell](https://www.automicvault.com/ja/pkg/brew/nushell/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [murex](https://www.automicvault.com/ja/pkg/brew/murex/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [nsh](https://www.automicvault.com/ja/pkg/brew/nsh/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [bashish](https://www.automicvault.com/ja/pkg/brew/bashish/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [bash](https://www.automicvault.com/ja/pkg/brew/bash/) - Shares av.db curated category or tags: cli, shell, system.
- [tcsh](https://www.automicvault.com/ja/pkg/brew/tcsh/) - Shares av.db curated category or tags: cli, shell, system.
- [dash-shell](https://www.automicvault.com/ja/pkg/brew/dash-shell/) - Shares av.db curated category or tags: cli, shell, system.
- [hstr](https://www.automicvault.com/ja/pkg/brew/hstr/) - Shares av.db curated category or tags: cli, shell, system.
- [hyfetch](https://www.automicvault.com/ja/pkg/brew/hyfetch/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, python, python-3-14, system, terminal.
- [recoverpy](https://www.automicvault.com/ja/pkg/brew/recoverpy/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, python, python-3-14, system, terminal.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
