# Install unciv with Homebrew, chocolatey, MacPorts, Nix

Open-source Android/Desktop remake of Civ V. Version 4.20.18 via Homebrew; verified 2026-07-06.

## Install

```sh
sudo av install brew:unciv
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install unciv
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install unciv
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#unciv
```

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

### Windows

- Chocolatey (92%):

```sh
choco install unciv
```

  Evidence: Chocolatey community package catalog: unciv from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='8.6352005','msys2-installer'

## Package facts

- **Package key:** brew:unciv
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/unciv>
- **Version:** 4.20.18
- **Source summary:** Open-source Android/Desktop remake of Civ V
- **Homepage:** <https://github.com/yairm210/Unciv>
- **Repository:** <https://github.com/yairm210/Unciv>
- **Upstream docs:** <https://github.com/yairm210/Unciv#readme>
- **License:** MPL-2.0
- **Source archive:** <https://github.com/yairm210/Unciv/releases/download/4.20.18/Unciv.jar>
- **Last updated:** 2026-07-06T17:51:16Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- unciv (cli)
- unciv (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.20.18
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://github.com/yairm210/Unciv
- info: No cached GitHub release or tag data was available.
## Project history and usage

Unciv is an open-source, mod-friendly Android and desktop 4X strategy game inspired by Civilization V and built with LibGDX. In package-manager terms it is unusual because it packages a fast, actively released game as a normal desktop executable rather than only as a mobile app or store download.

### Project history

The official README describes Unciv as an open-source Android/Desktop remake of Civ V, made with LibGDX, with a focus on moddability. The project was created on GitHub in 2017 and has continued as an active public repository.

The official docs describe it as an open-source, mod-friendly Android and Desktop remake where players build civilizations, research technologies, expand cities, and fight opponents. The README is explicit about the project's scope: users wanting high-resolution graphics and large production values are pointed to commercial Civilization, while Unciv emphasizes being small, fast, moddable, free, and able to run on low-end hardware.

### Adoption history

Unciv's adoption is visible through its cross-platform distribution and frequent release cadence. Official developer documentation describes creating GitHub releases, pushing builds to itch.io, uploading APKs to Google Play, and letting the F-Droid bot update from tags.

The input package metadata shows package-manager adoption beyond mobile stores, including Homebrew, Chocolatey, MacPorts, and Nix. That makes Unciv part of the package-nerd game niche: a real open-source game that can be installed, upgraded, and launched from system package managers.

### How it is used

Players use Unciv as a lightweight turn-based strategy game, while modders use its docs and repository workflow to create and maintain game content. The official docs say unmodded gameplay is equal to Civ V, so existing Civ V guides are relevant, and the game includes a tutorial.

For command-line/package users, the interesting part is not a deep CLI interface but installability: Homebrew and other package managers make a desktop game available through the same update workflows used for developer tools.

### Why package nerds care

Unciv matters to package nerds because it is a substantial, actively maintained open-source game with frequent releases and broad distribution. It demonstrates that package managers are not just for compilers and daemons; they can also deliver serious hobbyist games.

Its modest resource requirements, open development, and moddability make it a good fit for reproducible desktop setups, Linux-like package workflows on macOS, and users who prefer package-managed software over app-store-only delivery.

### Timeline

- 2017: Unciv GitHub repository created.
- 2019: Early GitHub releases in the 3.2 series are published.
- 2022: Official deployment docs describe GitHub, itch.io, Google Play, and F-Droid release paths.
- 2026: GitHub releases include the 4.20 series.

### Related projects

- LibGDX is the game framework named by the official README.
- Civilization V is the gameplay reference point named by the README and docs; Unciv remains its own open-source project rather than a packaged copy of the commercial game.

### Sources

- GitHub repository and release metadata via `gh api repos/yairm210/Unciv` and `gh api repos/yairm210/Unciv/releases`
- <https://github.com/yairm210/Unciv>
- <https://yairm210.github.io/Unciv/>
- <https://yairm210.github.io/Unciv/Developers/From-code-to-deployment/>
- <https://yairm210.github.io/Unciv/Developers/Translations%2C-mods%2C-and-modding-freedom-in-Open-Source/>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for unciv. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** unciv
- **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 - unciv: normalized package name match | nixpkgs package indexes: pkgs/by-name/un/unciv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - unciv: normalized package name match | MacPorts ports tree: games/unciv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - unciv: normalized package name match | Chocolatey community package catalog: unciv from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='8.6352005','msys2-installer'


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [freeciv](https://www.automicvault.com/pkg/brew/freeciv/) - Shares av.db curated category or tags: cli, game, games, strategy.
- [widelands](https://www.automicvault.com/pkg/brew/widelands/) - Shares av.db curated category or tags: cli, game, games, strategy.
- [curseofwar](https://www.automicvault.com/pkg/brew/curseofwar/) - Shares av.db curated category or tags: cli, games, strategy.
- [dopewars](https://www.automicvault.com/pkg/brew/dopewars/) - Shares av.db curated category or tags: cli, game, games, strategy.
- [lcs](https://www.automicvault.com/pkg/brew/lcs/) - Shares av.db curated category or tags: cli, games, strategy.
- [lgeneral](https://www.automicvault.com/pkg/brew/lgeneral/) - Shares av.db curated category or tags: cli, games, strategy.
- [allureofthestars](https://www.automicvault.com/pkg/brew/allureofthestars/) - Shares av.db curated category or tags: cli, game, games.
- [angband](https://www.automicvault.com/pkg/brew/angband/) - Shares av.db curated category or tags: cli, game, games.
- [cataclysm](https://www.automicvault.com/pkg/brew/cataclysm/) - Local package facts share a topical domain. Shared terms: cli, game, games, open, open-source.
- [sdlpop](https://www.automicvault.com/pkg/brew/sdlpop/) - Local package facts share a topical domain. Shared terms: cli, game, games, open, open-source.

## Combined YAML source

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