Automic VaultAutomic Vault

brew

Install gambit with Homebrew, apk, Nix

Software tools for game theory. Version 16.6.0 via Homebrew; verified 2026-07-08.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gambit

local Homebrew formula metadata

overview

Package summary

Software tools for game theory

Commands and aliases

  • gambit
  • gambit-convert
  • gambit-enummixed
  • gambit-enumpoly
  • gambit-enumpure
  • gambit-gnm
  • gambit-ipa
  • gambit-lcp
  • gambit-liap
  • gambit-logit
  • gambit-lp
  • gambit-simpdiv

history

Project history and usage

Gambit is an open-source package for computation in game theory, covering construction, analysis, storage, and equilibrium computation for finite non-cooperative games in extensive or strategic form.

Project history

The official history traces Gambit to game-analysis programs written by Richard McKelvey at Caltech in the mid-1980s. It began in BASIC, moved to C and the Borland Graphics Interface around 1990, and was publicly distributed as version 0.13 in 1991 and 1992.

Between 1994 and 1996, Gambit became a fuller package under National Science Foundation support, with Andrew McLennan involved and Theodore Turocy joining as principal developer. The project was rewritten in C++, became cross-platform, and used wxWidgets for its graphical interface.

Later development added and reorganized interfaces around command-line tools, a graphical application, and PyGambit, the Python API. The project records Google Summer of Code participation in 2011 and 2012, support for Game Theory Explorer, Action Graph Games contributions, and current core support from the Alan Turing Institute since 2023.

Adoption history

Gambit has an academic adoption path: it is cited as a package for game-theoretic computation, appears in game-theory research, and exposes standard formats for storing and communicating games with external tools.

The current documentation presents three user-facing surfaces: a Python API for programmatic use, a GUI for constructing and inspecting games, and command-line tools for scripting and integration. The input package facts show it packaged in Homebrew, Alpine, and Nix.

How it is used

Users model games in extensive or strategic form, compute pure and mixed-strategy Nash equilibria, fit quantal-response and related models, and exchange games through Gambit's file formats. Command-line programs such as gambit-enumpure, gambit-enummixed, gambit-lcp, gambit-logit, and gambit-convert support scripted workflows.

Why package nerds care

Gambit matters to package maintainers because it combines a scientific C++ codebase, a GUI, a Python API, and many small CLI tools under one package name. It is the sort of domain package where executable naming, Python bindings, and long-lived academic release history all matter.

Timeline

  • Mid-1980s: Origins in game-analysis programs at Caltech.
  • 1991: Public distribution as version 0.13 began.
  • 1994: Version 0.94 released.
  • 1999: Version 0.96 released.
  • 2002: Version 0.97 released; Turocy became project lead.
  • 2011: GitHub repository created and Google Summer of Code participation began.
  • 2023: Rahul Savani joined as co-lead and Alan Turing Institute core support began.
  • 2026: Version 16.6.0 released on GitHub.

Related projects

  • PyGambit provides the Python API.
  • Game Theory Explorer is a related browser-based game construction and solving tool supported by Gambit development.
  • GTDraw is linked from the official project site as a related tool.
  • wxWidgets was used for Gambit's cross-platform graphical interface.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gambitcliglobal executable
gambit-convertcliglobal executable
gambit-enummixedcliglobal executable
gambit-enumpolycliglobal executable
gambit-enumpurecliglobal executable
gambit-gnmcliglobal executable
gambit-ipacliglobal executable
gambit-lcpcliglobal executable
gambit-liapcliglobal executable
gambit-logitcliglobal executable
gambit-lpcliglobal executable
gambit-simpdivcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version16.6.0
manager updated2026-07-08
local dataok
upstreamcurrent
latest detectedv16.6.0

https://github.com/gambitproject/gambit

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gambit
Version16.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gambit
Homepagehttps://www.gambit-project.org/
Repositoryhttps://github.com/gambitproject/gambit
Upstream docshttps://gambitproject.readthedocs.io/en/stable
LicenseGPL-2.0-or-later AND Zlib
Source archivehttps://github.com/gambitproject/gambit/archive/refs/tags/v16.6.0.tar.gz
Last updated2026-07-08T03:44:56Z
Pulseupdated
Dependencieswxwidgets
Build dependenciesautoconf, automake, libtool
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gambit

nix profile install nixpkgs#gambit
  • normalized package name match
  • Matched by: Gambit
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: gambit from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk95%

gambit 4.9.5-r1

Portable and efficient implementation of the Scheme language

https://gambitscheme.org/

sudo apk add gambit
  • License: LGPL-2.1-only, Apache-2.0
  • Architecture: x86_64
  • Source Package: gambit
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gambit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gambit from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

gambit-dev 4.9.5-r1

Portable and efficient implementation of the Scheme language (development files)

https://gambitscheme.org/

sudo apk add gambit-dev
  • License: LGPL-2.1-only, Apache-2.0
  • Architecture: x86_64
  • Source Package: gambit
  • normalized package name match
  • Matched by: Gambit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gambit-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

gambit-doc 4.9.5-r1

Portable and efficient implementation of the Scheme language (documentation)

https://gambitscheme.org/

sudo apk add gambit-doc
  • License: LGPL-2.1-only, Apache-2.0
  • Architecture: x86_64
  • Source Package: gambit
  • normalized package name match
  • Matched by: Gambit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gambit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment