# Install netris with Homebrew, MacPorts, Nix, apt

Networked variant of tetris. Version 0.52 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:netris
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install netris
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install netris
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#netris
```

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

- Ubuntu apt (92%):

```sh
sudo apt install netris
```

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

## Package facts

- **Package key:** brew:netris
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/netris>
- **Version:** 0.52
- **Source summary:** Networked variant of tetris
- **Homepage:** <https://packages.debian.org/sid/netris>
- **Upstream docs:** <https://manpages.ubuntu.com/manpages/noble/man6/netris.6.html>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://deb.debian.org/debian/pool/main/n/netris/netris_0.52.orig.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- netris (cli)
- netris (alias)

## Uses from macOS

- ncurses

## 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.52
- Local data: ok
- Upstream repository: https://packages.debian.org/sid/netris
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Netris is a C/ncurses terminal game: a free, networked falling-block game distributed by Homebrew from Debian's 0.52 source tarball. Its upstream README identifies Mark H. Weaver as the author and carries copyright years 1994-1996 and 1999, placing it in the 1990s Unix network-game lineage rather than a modern hosted-repository workflow.

### Project history

The 0.52 source README describes the program as an unfinished developmental version and says it had been built and tested on GNU/Linux, FreeBSD, NetBSD, SunOS, Solaris, and HP-UX. That portability note explains why it survived in Unix package collections.

Version 0.52 fixed a buffer overflow reported by Artur Byszko. Debian continues to carry netris as source package `netris`, and Homebrew uses Debian's `netris_0.52.orig.tar.gz` as its stable source.

### Adoption history

Adoption is preservation-scale rather than mainstream. Debian lists the package in the games section and Homebrew analytics reported 68 installs over 365 days in the formula API consulted for this batch.

For package managers, netris remains useful as a small, dependency-light ncurses game with network play, old Unix portability assumptions, and enough patch history to keep compiling on modern systems.

### How it is used

The practical use is direct terminal play. For a two-player network game, one player runs `netris -w` to wait for a challenge and the other runs `netris -c host` to connect.

The Ubuntu manpage documents options for custom ports, key remapping, robot control, random seeds, color disabling, and rules display.

### Why package nerds care

Netris is package-nerd interesting because it is a compact specimen of 1990s terminal gaming: ncurses UI, direct TCP play, manual build configuration, and distro preservation.

It is also a reminder that package managers preserve cultural software, not just production infrastructure: a networked clone can remain one command away decades after upstream activity fades.

### Timeline

- 1994-1996, 1999: Copyright years in the upstream README for Mark H. Weaver's Netris.
- 1999: README revision marker in the 0.52 source archive.
- 0.52: Upstream release fixed a buffer overflow reported by Artur Byszko.
- 2026: Homebrew API reported stable source from Debian's 0.52 tarball and 68 installs over 365 days.

### Related projects

- Netris belongs to the family of terminal falling-block games and networked Unix games.
- Debian and Ubuntu packaging now provide the most visible documentation and source distribution surfaces for package-manager users.

### Sources

- <https://deb.debian.org/debian/pool/main/n/netris/netris_0.52.orig.tar.gz>
- <https://formulae.brew.sh/api/formula/netris.json>
- <https://manpages.ubuntu.com/manpages/noble/man6/netris.6.html>
- <https://packages.debian.org/sid/netris>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** netris
- **Version Scheme:** 0
- **Revision:** 0
- **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 - netris: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/netris/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - netris - 0.52-11: normalized package name match | Ubuntu 24.04 LTS package indexes: netris from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | free, networked version of T*tris
- MacPorts - netris: normalized package name match | MacPorts ports tree: games/netris/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://www.automicvault.com/pkg/game-emulation-tools/) - Matched game or emulation metadata.
- [avanor](https://www.automicvault.com/pkg/brew/avanor/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [bastet](https://www.automicvault.com/pkg/brew/bastet/) - Shares av.db curated category or tags: cli, game, games, tetris.
- [brogue](https://www.automicvault.com/pkg/brew/brogue/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [dopewars](https://www.automicvault.com/pkg/brew/dopewars/) - Shares av.db curated category or tags: cli, game, games, multiplayer.
- [gpcslots2](https://www.automicvault.com/pkg/brew/gpcslots2/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [mrboom](https://www.automicvault.com/pkg/brew/mrboom/) - Shares av.db curated category or tags: cli, game, games, multiplayer.
- [myman](https://www.automicvault.com/pkg/brew/myman/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [pacvim](https://www.automicvault.com/pkg/brew/pacvim/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [vitetris](https://www.automicvault.com/pkg/brew/vitetris/) - Local package facts share a topical domain. Shared terms: cli, game, games, puzzle, puzzle-game.
- [typespeed](https://www.automicvault.com/pkg/brew/typespeed/) - Local package facts share a topical domain. Shared terms: cli, game, games, multiplayer, terminal.

## Combined YAML source

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