# 使用 Homebrew, apk, apt, MacPorts, Nix 安装 got

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

## 安装

```sh
sudo av install brew:got
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install got
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install got
```

  证据: MacPorts ports tree: devel/got/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add got
```

  证据: Alpine Linux edge package indexes: got from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install got
```

  证据: Debian stable package indexes: got from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#got
```

  证据: nixpkgs package indexes: pkgs/by-name/go/got/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:got
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/got>
- **版本:** 0.127
- **来源摘要:** Version control system
- **主页:** <https://gameoftrees.org/>
- **仓库:** <https://git.gameoftrees.org/gitweb?p=got.git>
- **上游文档:** <https://gameoftrees.org/>
- **许可证:** ISC
- **源码归档:** <https://gameoftrees.org/releases/portable/got-portable-0.127.tar.gz>
- **最后更新:** 2026-07-24T22:13:37Z
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- gitwrapper (cli)
- got (cli)
- gotadmin (cli)
- gotctl (cli)
- gotd (cli)
- gotsh (cli)
- gotwebctl (cli)
- gotwebd (cli)
- tog (cli)
- gitwrapper (别名)
- got (别名)
- gotadmin (别名)
- gotctl (别名)
- gotd (别名)
- gotsh (别名)
- gotwebctl (别名)
- gotwebd (别名)
- tog (别名)

## 依赖

- libevent
- libretls
- ncurses
- openssl@3

## 构建依赖

- bison
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 0.127
- 管理器更新时间: 2026-07-24
- 本地数据: OK
- 上游仓库: https://gameoftrees.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Game of Trees, usually invoked as got, is a version control system that stores history in Git repositories while prioritizing ease of use and simplicity over flexibility. The official site says it is developed on OpenBSD, aimed especially at OpenBSD developers, and designed so Git can still be used for functionality not implemented in Got.

### 项目历史

The project is an OpenBSD-style version-control effort with a C codebase, BSD licensing, manual pages, and a command set split across tools such as got, gotadmin, gotd, gotwebd, and tog. The got(1) manual describes got as a distributed version control system using the Git repository format, with checked-out work trees and synchronization between repositories.

A EuroBSDcon 2019 presentation described Game of Trees as a work-in-progress version control system intended to appeal to OpenBSD developers, designed and written from scratch, compatible with Git repositories, and built around concise manual pages. The public release directory shows a long sequence of 0.x tarball releases beginning with the 0.1 through 0.39 archives listed together in 2020, then steady release growth through 0.126 in 2026.

### 采用历史

Got started with OpenBSD as its home audience and later gained an official portable version for Linux, FreeBSD, NetBSD, DragonFlyBSD, and macOS. The portable page lists pre-packaged versions for Alpine, MacPorts, Homebrew, NixOS, Void, Arch AUR, pkgsrc, Debian, Ubuntu, FreeBSD ports, Chimera Linux, GNU Guix, and Slackware, showing adoption beyond OpenBSD while retaining an OpenBSD-centered development culture.

### 使用方式

Users can initialize, import, clone, check out, diff, commit, branch, tag, fetch, and send Git-format repositories through got commands. The got.conf manual documents per-repository and per-work-tree configuration for authors, remotes, branches, signer settings, and fetch/send behavior, while related tools handle repository administration, server operation, web browsing, and terminal browsing.

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

Game of Trees is notable in package-manager culture because it is a serious alternative command-line interface and tool suite for Git-format repositories, built with BSD licensing and OpenBSD sensibilities. Packaging it gives non-OpenBSD users access to got, gotadmin, gotd, gotwebd, tog, and related workflows without replacing Git's on-disk repository format.

### 时间线

- 2017: got(1) manual copyright begins with Martin Pieuchot, with later Stefan Sperling copyright years.
- 2019: EuroBSDcon presentation describes Game of Trees as a work-in-progress VCS for OpenBSD developers.
- 2020-09: The release directory lists got 0.1 through 0.39 tarballs with September 2020 timestamps.
- 2023: FOSDEM material covers gotd and the portable page describes support beyond OpenBSD.
- 2026-05: Game of Trees 0.126 and Game of Trees -portable 0.126 are released.

### Related projects

- Git is the repository format and interoperability target.
- tog is the interactive terminal repository browser shipped in the Game of Trees family.
- gotd and gotwebd provide repository server and web browser interfaces.
- got-portable is the portability branch for Linux, BSDs, and macOS.
- Game of Trees Hub is the related hosting service linked from the official site.

### 来源

- <https://formulae.brew.sh/formula/got>
- <https://gameoftrees.org/>
- <https://gameoftrees.org/code.html>
- <https://gameoftrees.org/got.1.html>
- <https://gameoftrees.org/got.conf.5.html>
- <https://gameoftrees.org/portable.html>
- <https://gameoftrees.org/releases/>
- <https://www.openbsd.org/papers/eurobsdcon2019-gameoftrees.pdf>


## 安全说明

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



## 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

- Unix: ~/.got/got.conf, /etc/got.conf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** got
- **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

## 其他软件包管理器记录

- Debian apt - got - 0.111-1: normalized package name match | Debian stable package indexes: got from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | game of trees version control system | https://gameoftrees.org/index.html
- Debian apt - gotd - 0.111-1: normalized package name match | Debian stable package indexes: gotd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | game of trees repository server | https://gameoftrees.org/index.html
- Nix - got: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/got/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - got - 0.95-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: got from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | game of trees version control system | https://gameoftrees.org/index.html
- Ubuntu apt - gotd - 0.95-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: gotd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | game of trees repository server | https://gameoftrees.org/index.html
- apk - got - 0.126-r0: normalized package name match | Alpine Linux edge package indexes: got from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A VCS which prioritizes ease of use and simplicity over flexibility | https://gameoftrees.org/
- apk - got-doc - 0.126-r0: normalized package name match | Alpine Linux edge package indexes: got-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A VCS which prioritizes ease of use and simplicity over flexibility (documentation) | https://gameoftrees.org/
- MacPorts - got: normalized package name match | MacPorts ports tree: devel/got/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [libevent](https://www.automicvault.com/zh-hans/pkg/brew/libevent/) - Runtime dependency declared by Homebrew.
- [ncurses](https://www.automicvault.com/zh-hans/pkg/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [bison](https://www.automicvault.com/zh-hans/pkg/brew/bison/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [sapling](https://www.automicvault.com/zh-hans/pkg/brew/sapling/) - Shares av.db curated category or tags: cli, developer-tools, git, scm, version-control.
- [braid](https://www.automicvault.com/zh-hans/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [codeberg-cli](https://www.automicvault.com/zh-hans/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [cvs](https://www.automicvault.com/zh-hans/pkg/brew/cvs/) - Shares av.db curated category or tags: cli, developer-tools, scm, version-control.
- [dura](https://www.automicvault.com/zh-hans/pkg/brew/dura/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [fossil](https://www.automicvault.com/zh-hans/pkg/brew/fossil/) - Shares av.db curated category or tags: cli, developer-tools, scm, version-control.
- [gcli](https://www.automicvault.com/zh-hans/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-branchless](https://www.automicvault.com/zh-hans/pkg/brew/git-branchless/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.

## Combined YAML source

View the package source record on GitHub. [combined/got.yml](https://github.com/automic-vault/db/blob/main/combined/got.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- 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
