# Install gforth with Homebrew, dnf, MacPorts, Nix, apt, winget

Implementation of the ANS Forth language. Version 0.7.3 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:gforth
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gforth
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gforth
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install gforth
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gforth
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gf/gforth/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install gforth
```

  Evidence: Ubuntu 24.04 LTS package indexes: gforth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

### Windows

- winget (92%):

```sh
winget install --id GNU.Gforth -e
```

  Evidence: Windows Package Manager source index: GNU.Gforth from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:gforth
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gforth>
- **Version:** 0.7.3
- **Source summary:** Implementation of the ANS Forth language
- **Homepage:** <https://www.gnu.org/software/gforth/>
- **Repository:** <https://git.savannah.gnu.org/git/gforth.git>
- **Upstream docs:** <https://www.complang.tuwien.ac.at/forth/gforth/Docs-html>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://ftpmirror.gnu.org/gnu/gforth/gforth-0.7.3.tar.gz>
- **Last updated:** 2026-06-22T14:03:28-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gforth (cli)
- gforth-0.7.3 (cli)
- gforth-fast (cli)
- gforth-fast-0.7.3 (cli)
- gforth-itc (cli)
- gforth-itc-0.7.3 (cli)
- gforthmi (cli)
- gforthmi-0.7.3 (cli)
- vmgen (cli)
- vmgen-0.7.3 (cli)
- gforth (alias)
- gforth-0.7.3 (alias)
- gforth-fast (alias)
- gforth-fast-0.7.3 (alias)
- gforth-itc (alias)
- gforth-itc-0.7.3 (alias)
- gforthmi (alias)
- gforthmi-0.7.3 (alias)
- vmgen (alias)
- vmgen-0.7.3 (alias)

## Dependencies

- libtool

## Build dependencies

- emacs

## Uses from macOS

- libffi

## 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: 0.7.3
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://www.gnu.org/software/gforth/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Gforth is the GNU project's Forth implementation, a portable system for ANS Forth and Forth 2012 programming. Its history sits at the intersection of language-standard reference work, interactive programming, GNU packaging, and virtual-machine generation.

### Project history

The Gforth manuals carry Free Software Foundation copyright years beginning in 1995, and the project page names Anton Ertl as project initiator and Bernd Paysan as project leader. The stated project goal was to develop a standard model for ANSI Forth: conforming to the standard, documenting implementation-dependent behavior, gaining broad acceptance, remaining efficient, remaining free, and being portable.

### Adoption history

Gforth became a GNU language runtime with broad platform reach across GNU, BSD-like systems, Windows, macOS, Android/Linux, and embedded-control targets. The project page connects it to the Forth standard, Forth community resources, the Gforth mailing list, and comp.lang.forth.

### How it is used

Practitioners use Gforth as an interactive Forth environment, a compiler/runtime for Forth source, a learning system with a substantial manual and tutorial, and a platform for exploring threaded-code implementation techniques. Its tool set includes `gforth`, faster and indirect-threaded variants, image-building helpers, and `vmgen` for generating efficient interpreters.

### Why package nerds care

Gforth matters to package maintainers because it is both a GNU language implementation and a self-hosting-style Forth environment with multiple installed executables. It brings a historically important niche language into the same package-manager workflows as more common compilers and interpreters.

### Timeline

- 1995: Gforth documentation copyright history begins in the FSF manuals.
- 2003: Gforth and Vmgen 0.6.2 were announced on GNU mailing lists.
- 2008: The 0.7.0 manual described Gforth as a fast, portable ANS Forth implementation.
- 2018: The online manual line described version 0.7.9 snapshots and Forth tutorial material.
- 2024: A Dagstuhl software artifact entry archived Gforth source from Savannah.

### Related projects

- Gforth is related to the Forth standard, GNU, Vmgen, Emacs integration, Forth community sites, and other Forth systems such as fig-Forth and F83 that informed its standard-model goals.

### Sources

- <https://bernd-paysan.de/gforth.html>
- <https://drops.dagstuhl.de/entities/artifact/10.4230/artifacts.22514>
- <https://gforth.org/>
- <https://gforth.org/manual/>
- <https://lists.gnu.org/archive/html/info-gnu/2003-11/msg00003.html>


## Security Notes

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:** gforth
- **Version Scheme:** 0
- **Revision:** 3
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - gforth: normalized package name match | nixpkgs package indexes: pkgs/by-name/gf/gforth/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gforth - 0.7.3+dfsg-9build4.1: normalized package name match | Ubuntu 24.04 LTS package indexes: gforth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Forth Language Environment | https://www.complang.tuwien.ac.at/projects/forth.html
- Ubuntu apt - gforth-common - 0.7.3+dfsg-9build4.1: normalized package name match | Ubuntu 24.04 LTS package indexes: gforth-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Forth architecture-independent dictionaries | https://www.complang.tuwien.ac.at/projects/forth.html
- Ubuntu apt - gforth-lib - 0.7.3+dfsg-9build4.1: normalized package name match | Ubuntu 24.04 LTS package indexes: gforth-lib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Forth Language Environment architecture-dependent files | https://www.complang.tuwien.ac.at/projects/forth.html
- dnf - gforth - 0.7.3-36.fc44: normalized package name match | Fedora Rawhide package metadata: gforth from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Fast and portable implementation of the ANS Forth language | http://www.gnu.org/software/gforth/
- MacPorts - gforth: normalized package name match | MacPorts ports tree: lang/gforth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - GNU.Gforth: normalized package name match | Windows Package Manager source index: GNU.Gforth from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Runtime dependency declared by Homebrew.
- [emacs](https://www.automicvault.com/pkg/brew/emacs/) - Build dependency declared by Homebrew.
- [clisp](https://www.automicvault.com/pkg/brew/clisp/) - Shares av.db curated category or tags: cli, compiler, gnu, implementation, interpreter.
- [ecl](https://www.automicvault.com/pkg/brew/ecl/) - Shares av.db curated category or tags: cli, compiler, implementation, interpreter, language-runtime.
- [sbcl](https://www.automicvault.com/pkg/brew/sbcl/) - Shares av.db curated category or tags: cli, compiler, implementation, language-runtime.
- [abcl](https://www.automicvault.com/pkg/brew/abcl/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime.
- [algol68g](https://www.automicvault.com/pkg/brew/algol68g/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime.
- [chicken](https://www.automicvault.com/pkg/brew/chicken/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime.
- [gambit-scheme](https://www.automicvault.com/pkg/brew/gambit-scheme/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Shares av.db curated category or tags: cli, compiler, gnu, language-runtime.
- [gnu-smalltalk](https://www.automicvault.com/pkg/brew/gnu-smalltalk/) - Local package facts share a topical domain. Shared terms: cli, gnu, implementation, interpreter, language.
- [gnu-apl](https://www.automicvault.com/pkg/brew/gnu-apl/) - Local package facts share a topical domain. Shared terms: cli, gnu, implementation, interpreter, language.
- [mit-scheme](https://www.automicvault.com/pkg/brew/mit-scheme/) - Local package facts share a topical domain. Shared terms: cli, compiler, gnu, interpreter, language.

## Combined YAML source

View the package source record on GitHub. [combined/gforth.yml](https://github.com/automic-vault/db/blob/main/combined/gforth.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
