Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt, winget 安装 nethack

查看 nethack 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nethack

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install nethack

MacPorts ports tree · games/nethack/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add nethack

Alpine Linux edge package indexes · nethack · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install nethack

Fedora Rawhide package metadata · nethack · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#nethack

nixpkgs package indexes · pkgs/by-name/ne/nethack/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S nethack

Arch Linux sync databases · nethack · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install nethack

openSUSE Tumbleweed package metadata · nethack · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install nethack-common

Debian stable package indexes · nethack-common · 来源: deb.debian.org

Windows

Windows Package Manager已验证 · 92%
winget install --id Nethack.Nethack -e

Windows Package Manager source index · Nethack.Nethack · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Single-player roguelike video game

命令和别名

  • nethack

历史

项目历史与用法

NetHack is one of the canonical open source roguelikes: a single-player dungeon exploration game descended from Rogue and Hack, with the official 5.0 material describing it as a direct descendant of NetHack 3.6 and a distant descendant of Rogue and Hack. The official site describes the game as portable across many computer systems, with graphical and text interfaces over the same game engine, and with an emphasis on learning dungeon details rather than simply killing every monster.

The Homebrew formula tracks the 5.0.0 source release and reported 2,205 installs in the 365-day window in its API generated on 2026-07-01. That is modest package-manager volume, but NetHack's importance is cultural and historical: the official site itself links to long-running USENET discussion, articles, academic references, and AI challenge material.

项目历史

The official repository README for NetHack 5.0.0 says the release is an enhancement to the dungeon exploration game NetHack, a distant descendant of Rogue and Hack, and a direct descendant of NetHack 3.6. The official home page announced NetHack 5.0.0 on 2026-05-02, followed by updated platform binaries in May and June 2026.

The official information page preserves the old-school release culture around the project: new versions are announced on the website and USENET, and release dates are not forecast. The same page explains that the 'Net' in NetHack refers to the distributed way developers organize work, not multiplayer gameplay.

采用历史

NetHack's adoption is deeper than raw install counters suggest. The official site still points players to rec.games.roguelike.nethack, rec.games.roguelike.announce, print references, web retrospectives, AI-related work, and public community discussion, which is exactly how a terminal game from the 1980s stayed alive across Unix, Windows, macOS, Amiga, MS-DOS, and other ports.

On Homebrew, the 2026-07-01 formula API reported stable version 5.0.0 with 195 installs in 30 days, 1,061 in 90 days, and 2,205 in 365 days. GitHub showed the official mirror with thousands of stars and a 5.0.0 release dated 2026-05-02.

使用方式

Package users install it to run the `nethack` executable, usually as a terminal roguelike with personal settings in a `.nethackrc`. Practical use is not automation or library integration; it is playing a famously deep procedural dungeon game, often with custom options, tiles or curses front ends, and community servers or local builds.

The package-nerd use case is preservation-friendly portability: build it on odd platforms, run it over SSH, test old-school terminal behavior, or keep a classic roguelike in a package collection. Its save and bones files are version-sensitive, which the official information page calls out for 5.0.0.

为什么软件包爱好者会关心

NetHack is a package collection staple because it is both software history and a living C codebase. A package index that lacks it looks culturally thin, even if the install count is smaller than modern developer tools.

时间线

  • 1985-2026: official site copyright range for NetHack-related code.
  • 2023-02-16: NetHack 3.6.7 release notes announced a security-fix release.
  • 2026-05-02: official home page announced NetHack 5.0.0.
  • 2026-06-09: official home page announced updated 5.0.0 binaries for Windows, Amiga, and MS-DOS.

Related projects

  • Rogue
  • Hack
  • NetHack Challenge
  • rec.games.roguelike.nethack

安全态势

尚未找到受保护工具覆盖

没有找到 nethack 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • Homebrew 为此 formula 声明了 post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
~/.nethackrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nethackcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本5.0.0
管理器更新时间2026-07-09
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.nethack.org/

安装元数据

软件包元数据

软件包键brew:nethack
版本5.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nethack
主页https://www.nethack.org/
仓库https://github.com/NetHack/NetHack
上游文档https://www.nethack.org/download/5.0.0/nethack-500-Guidebook.pdf
许可证NGPL
源码归档https://nethack.org/download/5.0.0/nethack-500-src.tgz
最后更新2026-07-09T22:03:26Z
Pulseupdated
依赖ncurses
构建依赖groff
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install已定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenethack
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

nethack-common 3.6.7-1+b2

dungeon crawl game - common files

https://www.nethack.org

sudo apt install nethack-common
  • Section: games
  • Architecture: amd64
  • Source Package: nethack
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Nethack
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nethack-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nethack-console 3.6.7-1+b2

dungeon crawl game - text-based interface

https://www.nethack.org

sudo apt install nethack-console
  • Section: games
  • Architecture: amd64
  • Source Package: nethack
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nethack
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nethack-console from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nethack-qt 3.6.7-1+b2

dungeon crawl game - Qt interface

https://www.nethack.org

sudo apt install nethack-qt
  • Section: games
  • Architecture: amd64
  • Source Package: nethack
  • 9 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nethack
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nethack-qt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nethack-x11 3.6.7-1+b2

dungeon crawl game - X11 interface

https://www.nethack.org

sudo apt install nethack-x11
  • Section: games
  • Architecture: amd64
  • Source Package: nethack
  • 9 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nethack
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nethack-x11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nethack

nix profile install nixpkgs#nethack
  • normalized package name match
  • 匹配方式:Nethack
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ne/nethack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

nethack-common 3.6.7-1build3

dungeon crawl game - common files

https://www.nethack.org

sudo apt install nethack-common
  • Section: universe/games
  • Architecture: amd64
  • Source Package: nethack
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Nethack
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nethack-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nethack-console 3.6.7-1build3

dungeon crawl game - text-based interface

https://www.nethack.org

sudo apt install nethack-console
  • Section: universe/games
  • Architecture: amd64
  • Source Package: nethack
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nethack
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nethack-console from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nethack-qt 3.6.7-1build3

dungeon crawl game - Qt interface

https://www.nethack.org

sudo apt install nethack-qt
  • Section: universe/games
  • Architecture: amd64
  • Source Package: nethack
  • 9 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nethack
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nethack-qt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nethack-x11 3.6.7-1build3

dungeon crawl game - X11 interface

https://www.nethack.org

sudo apt install nethack-x11
  • Section: universe/games
  • Architecture: amd64
  • Source Package: nethack
  • 9 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nethack
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nethack-x11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nethack 3.6.7-r2

A single player dungeon exploration game

https://www.nethack.org/

sudo apk add nethack
  • License: NGPL
  • Architecture: x86_64
  • Source Package: nethack
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nethack
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nethack from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

nethack-doc 3.6.7-r2

A single player dungeon exploration game (documentation)

https://www.nethack.org/

sudo apk add nethack-doc
  • License: NGPL
  • Architecture: x86_64
  • Source Package: nethack
  • normalized package name match
  • 匹配方式:Nethack
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nethack-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

nethack 3.6.7-9.fc44

A rogue-like single player dungeon exploration game

https://nethack.org

sudo dnf install nethack
  • License: NGPL
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nethack
  • 13 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Nethack
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nethack from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nethack-bitmap-fonts 3.6.7-9.fc44

Bitmap fonts for Nethack

https://nethack.org

sudo dnf install nethack-bitmap-fonts
  • License: NGPL
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: nethack
  • 1 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Nethack
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nethack-bitmap-fonts from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nethack-bitmap-fonts-core 3.6.7-9.fc44

X11 core fonts configuration for nethack-bitmap

https://nethack.org

sudo dnf install nethack-bitmap-fonts-core
  • License: NGPL
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: nethack
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nethack
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nethack-bitmap-fonts-core from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

nethack 3.6.7-6

A single player dungeon exploration game

https://www.nethack.org

sudo pacman -S nethack
  • License: custom
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Nethack
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: nethack from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

nethack 3.6.7-1.3

Turn-based role-playing game

https://www.nethack.org

sudo zypper install nethack
  • License: NGPL
  • Category: Amusements/Games/RPG
  • Architecture: x86_64
  • Source Package: nethack
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Nethack
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nethack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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