# Install nethack

Single-player roguelike video game. Version 5.0.0 via Homebrew; verified 2026-05-08.

## Install

```sh
sudo av install brew:nethack
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nethack
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nethack
```

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

### Linux

- apk (92%):

```sh
sudo apk add nethack
```

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

- Debian apt (92%):

```sh
sudo apt install nethack-common
```

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

- dnf (92%):

```sh
sudo dnf install nethack
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#nethack
```

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

- pacman (92%):

```sh
sudo pacman -S nethack
```

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

- zypper (92%):

```sh
sudo zypper install nethack
```

  Evidence: openSUSE Tumbleweed package metadata: nethack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Nethack.Nethack -e
```

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

## Package Facts

- **Package key:** brew:nethack
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/nethack>
- **Version:** 5.0.0
- **Source summary:** Single-player roguelike video game
- **Homepage:** <https://www.nethack.org/>
- **Repository:** <https://github.com/NetHack/NetHack>
- **Upstream docs:** <https://www.nethack.org/download/5.0.0/nethack-500-Guidebook.pdf>
- **License:** NGPL
- **Source archive:** <https://nethack.org/download/5.0.0/nethack-500-src.tgz>
- **Last updated:** 2026-05-08T17:54:02Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- nethack (cli)
- nethack (alias)

## Build Dependencies

- groff

## macOS Provided Libraries

- ncurses

## Install Behavior

- Post-install hook: defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 5.0.0
- Package-manager updated: 2026-05-08
- Local data status: ok
- Upstream repository: https://www.nethack.org/
- info: Release/tag comparison is only available for GitHub repositories.

## セキュリティノート

no executable entrypoint in the package index.

- **Geiger risk:** green / low
- no executable entrypoint in the package index

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nethack
- **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 - nethack-common - 3.6.7-1+b2: normalized package name match | Debian stable package indexes: nethack-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dungeon crawl game - common files | https://www.nethack.org
- Debian apt - nethack-console - 3.6.7-1+b2: normalized package name match | Debian stable package indexes: nethack-console from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dungeon crawl game - text-based interface | https://www.nethack.org
- Debian apt - nethack-qt - 3.6.7-1+b2: normalized package name match | Debian stable package indexes: nethack-qt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dungeon crawl game - Qt interface | https://www.nethack.org
- Debian apt - nethack-x11 - 3.6.7-1+b2: normalized package name match | Debian stable package indexes: nethack-x11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dungeon crawl game - X11 interface | https://www.nethack.org
- Nix - nethack: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/nethack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nethack-common - 3.6.7-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: nethack-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dungeon crawl game - common files | https://www.nethack.org
- Ubuntu apt - nethack-console - 3.6.7-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: nethack-console from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dungeon crawl game - text-based interface | https://www.nethack.org
- Ubuntu apt - nethack-qt - 3.6.7-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: nethack-qt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dungeon crawl game - Qt interface | https://www.nethack.org
- Ubuntu apt - nethack-x11 - 3.6.7-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: nethack-x11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dungeon crawl game - X11 interface | https://www.nethack.org
- apk - nethack - 3.6.7-r2: normalized package name match | Alpine Linux edge package indexes: nethack from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A single player dungeon exploration game | https://www.nethack.org/
- apk - nethack-doc - 3.6.7-r2: normalized package name match | Alpine Linux edge package indexes: nethack-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A single player dungeon exploration game (documentation) | https://www.nethack.org/
- dnf - nethack - 3.6.7-9.fc44: normalized package name match | Fedora Rawhide package metadata: nethack from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | A rogue-like single player dungeon exploration game | https://nethack.org
- dnf - nethack-bitmap-fonts - 3.6.7-9.fc44: normalized package name match | Fedora Rawhide package metadata: nethack-bitmap-fonts from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Bitmap fonts for Nethack | https://nethack.org
- dnf - nethack-bitmap-fonts-core - 3.6.7-9.fc44: normalized package name match | Fedora Rawhide package metadata: nethack-bitmap-fonts-core from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | X11 core fonts configuration for nethack-bitmap | https://nethack.org
- pacman - nethack - 3.6.7-6: normalized package name match | Arch Linux sync databases: nethack from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A single player dungeon exploration game | https://www.nethack.org
- zypper - nethack - 3.6.7-1.3: normalized package name match | openSUSE Tumbleweed package metadata: nethack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Turn-based role-playing game | https://www.nethack.org


## Related Links

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/ja/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Game and emulation packages](https://www.automicvault.com/ja/pkg/game-emulation-tools/) - Matched game or emulation metadata.
- [groff](https://www.automicvault.com/ja/pkg/brew/groff/) - Build dependency declared by Homebrew.
- [brogue](https://www.automicvault.com/ja/pkg/brew/brogue/) - Shares av.db curated category or tags: cli, dungeon-crawler, game, games, roguelike.
- [rogue](https://www.automicvault.com/ja/pkg/brew/rogue/) - Shares av.db curated category or tags: cli, dungeon-crawler, game, games, roguelike.
- [unnethack](https://www.automicvault.com/ja/pkg/brew/unnethack/) - Shares av.db curated category or tags: cli, game, games, roguelike, terminal-game.
- [jnethack](https://www.automicvault.com/ja/pkg/brew/jnethack/) - Shares av.db curated category or tags: cli, game, games, roguelike, terminal-game.
- [cataclysm](https://www.automicvault.com/ja/pkg/brew/cataclysm/) - Shares av.db curated category or tags: cli, game, games, roguelike.
- [angband](https://www.automicvault.com/ja/pkg/brew/angband/) - Shares av.db curated category or tags: cli, game, games, roguelike.
- [allureofthestars](https://www.automicvault.com/ja/pkg/brew/allureofthestars/) - Shares av.db curated category or tags: cli, game, games, roguelike.
- [slashem](https://www.automicvault.com/ja/pkg/brew/slashem/) - Shares av.db curated category or tags: cli, games, roguelike, terminal-game.

## 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
