# Install brainfuck with Homebrew, dnf

Interpreter for the brainfuck language. Version 2.7.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:brainfuck
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install brainfuck
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install brainfuck
```

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

## Package facts

- **Package key:** brew:brainfuck
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/brainfuck>
- **Version:** 2.7.3
- **Source summary:** Interpreter for the brainfuck language
- **Homepage:** <https://github.com/fabianishere/brainfuck>
- **Repository:** <https://github.com/fabianishere/brainfuck>
- **Upstream docs:** <https://github.com/fabianishere/brainfuck#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/fabianishere/brainfuck/archive/refs/tags/2.7.3.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- brainfuck (cli)
- brainfuck (alias)

## Build dependencies

- cmake

## Uses from macOS

- libedit

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.7.3
- Local data: ok
- Upstream repository: https://github.com/fabianishere/brainfuck
- Upstream latest detected: 2.7.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

fabianishere/brainfuck is a C implementation of a Brainfuck interpreter. It packages the esoteric language as a conventional Unix-style CLI with file execution, direct evaluation, an interactive console, examples, and a small C API.

### Project history

The GitHub repository was created in November 2011. The official README describes the project as a Brainfuck interpreter written in C, built with CMake and a C compiler, with libedit used for interactive console support.

Official Git tags show a long-lived small project, from early 0.1.x tags through 2.7.x tags. The repository README lists multiple contributors and includes an examples directory of Brainfuck programs with attribution where possible.

### Adoption history

The input package facts record Homebrew and Fedora DNF packaging. That is modest adoption, but enough to make the interpreter available through mainstream package managers rather than only as source code.

As a package, its role is mostly educational and recreational: it gives users a ready-made interpreter for an esoteric language often used in programming-language demonstrations and code-golf culture.

### How it is used

The README documents running brainfuck with files, using --eval to run code directly, --version and --help, and opening an interactive console when no arguments are passed.

The project also exposes a C API around parsing, execution context creation, execution, and cleanup, so it can be embedded or used as a small interpreter library in addition to the command-line binary.

### Why package nerds care

This package is not historically important as a unique interpreter, but it is a neat package-manager specimen: an esoteric language runtime small enough to ship everywhere and useful for testing terminals, compilers, examples, and packaging workflows.

Its significance comes from Brainfuck's cultural footprint among programmers, plus the practical convenience of having a maintained C interpreter available from Homebrew and DNF.

### Timeline

- 2011-11: The GitHub repository was created.
- 2011-2012: Official Git tags include early 0.1.x and 0.2.x releases.
- 2022: Official repository metadata shows activity into February 2022.
- 2022: Official Git tags include the 2.7.x release line.

### Related projects

- Brainfuck is the esoteric programming language implemented by the package.
- libedit is the line-editing dependency named by the README.
- CMake, Clang, and GCC are listed build-time tools for compiling the interpreter.

### Sources

- <https://api.github.com/repos/fabianishere/brainfuck>
- <https://github.com/fabianishere/brainfuck#readme>
- <https://github.com/fabianishere/brainfuck/tags>
- source_facts.package-manager


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** brainfuck
- **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

- dnf - brainfuck - 0.1.0.4-9.fc44: normalized package name match | Fedora Rawhide package metadata: brainfuck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Brainfuck interpreter | https://hackage.haskell.org/package/brainfuck
- dnf - ghc-brainfuck - 0.1.0.4-9.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-brainfuck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell brainfuck library | https://hackage.haskell.org/package/brainfuck
- dnf - ghc-brainfuck-devel - 0.1.0.4-9.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-brainfuck-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell brainfuck library development files | https://hackage.haskell.org/package/brainfuck
- dnf - ghc-brainfuck-doc - 0.1.0.4-9.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-brainfuck-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell brainfuck library documentation | https://hackage.haskell.org/package/brainfuck
- dnf - ghc-brainfuck-prof - 0.1.0.4-9.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-brainfuck-prof from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell brainfuck profiling library | https://hackage.haskell.org/package/brainfuck


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [cling](https://www.automicvault.com/pkg/brew/cling/) - Shares av.db curated category or tags: cli, interpreter, language-runtime.
- [goawk](https://www.automicvault.com/pkg/brew/goawk/) - Shares av.db curated category or tags: cli, interpreter, language-runtime.
- [mawk](https://www.automicvault.com/pkg/brew/mawk/) - Shares av.db curated category or tags: cli, interpreter, language-runtime.
- [picoc](https://www.automicvault.com/pkg/brew/picoc/) - Shares av.db curated category or tags: cli, interpreter, language-runtime.
- [rustpython](https://www.automicvault.com/pkg/brew/rustpython/) - Shares av.db curated category or tags: cli, interpreter, language-runtime.
- [wasm3](https://www.automicvault.com/pkg/brew/wasm3/) - Shares av.db curated category or tags: cli, interpreter, language-runtime.
- [algol68g](https://www.automicvault.com/pkg/brew/algol68g/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, programming-language.
- [befunge93](https://www.automicvault.com/pkg/brew/befunge93/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, programming-language.
- [three-body](https://www.automicvault.com/pkg/brew/three-body/) - Local package facts share a topical domain. Shared terms: cli, interpreter, language, language-runtime, programming.
- [kona](https://www.automicvault.com/pkg/brew/kona/) - Local package facts share a topical domain. Shared terms: cli, interpreter, language, language-runtime, programming.
- [clojurescript](https://www.automicvault.com/pkg/brew/clojurescript/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, programming, programming-language.

## Combined YAML source

View the package source record on GitHub. [combined/brainfuck.yml](https://github.com/automic-vault/db/blob/main/combined/brainfuck.yml)


## Sources

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