macOS
brew install nsnakelocal Homebrew formula metadata
安装
brew install nsnakelocal Homebrew formula metadata
sudo apk add nsnakeAlpine Linux edge package indexes · nsnake · 来源: dl-cdn.alpinelinux.org
sudo apt install nsnakeDebian stable package indexes · nsnake · 来源: deb.debian.org
sudo dnf install nsnakeFedora Rawhide package metadata · nsnake · 来源: dl.fedoraproject.org
nix profile install nixpkgs#nsnakenixpkgs package indexes · pkgs/by-name/ns/nsnake/package.nix · 来源: api.github.com
sudo zypper install nsnakeopenSUSE Tumbleweed package metadata · nsnake · 来源: download.opensuse.org
概览
Classic snake game with textual interface
历史
nSnake is a terminal implementation of the classic Snake game, built with ncurses and distributed as a command-line game. The upstream README describes it as a text-interface clone with customizable gameplay, appearance, key bindings, levels, multiple modes, and per-setting scores.
The GitHub repository was created on January 26, 2012. The release history shows a transition from a simpler C/ncurses game to a larger C++ version: v1.7 on February 18, 2014 was described as the last old release, v2.0.0 on March 6, 2014 was a substantial rewrite with customizable rules and interface work, and v3.0.0 on July 28, 2014 added custom levels and scrolling maps.
nSnake is a small terminal-game package rather than infrastructure, but it is widely packaged enough to show durable hobbyist adoption: Homebrew, Debian, Ubuntu, Fedora-family packages, Nix, Alpine, and openSUSE all carry it. Homebrew's formula API reports far more installs than several other niche CLI packages in this batch, consistent with a discoverable toy/tool package.
Users install it from a package manager and run `nsnake` in a terminal. The default controls are arrow keys to move, `p` to pause, `h` for help, and `q` to quit; settings and scores live under `~/.local/share/nsnake`, and custom levels use `.nsnake` files under the user's levels directory.
nSnake is notable as the kind of polished ncurses game distributions like to keep: tiny, self-contained, playable over SSH or a local terminal, and useful as both a nostalgia package and an example of terminal UI game programming.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.local/share/nsnake可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nsnake | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/alexdantas/nSnake
安装元数据
| 软件包键 | brew:nsnake |
|---|---|
| 版本 | 3.0.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nsnake |
| 主页 | https://github.com/alexdantas/nSnake |
| 仓库 | https://github.com/alexdantas/nSnake |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://downloads.sourceforge.net/project/nsnake/GNU-Linux/nsnake-3.0.1.tar.gz |
| 最后更新 | 2026-09-13T18:51:38Z |
| Pulse | updated |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_big_sur, arm64_golden_gate, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nsnake |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nsnake 3.0.1-2.2
classic snake game on the terminal
sudo apt install nsnakensnake
nix profile install nixpkgs#nsnakensnake 3.0.1-2.1
classic snake game on the terminal
sudo apt install nsnakensnake 3.0.0-r0
snake game for your terminal
http://projects.malikania.fr/nsnake
sudo apk add nsnakensnake-doc 3.0.0-r0
snake game for your terminal (documentation)
http://projects.malikania.fr/nsnake
sudo apk add nsnake-docnsnake 3.0.1-25.fc45
The classic snake game with textual interface
https://github.com/alexdantas/nSnake
sudo dnf install nsnakensnake 3.0.1-3.7
Classic snake game on the terminal
https://github.com/alexdantas/nSnake
sudo zypper install nsnake来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.