# Install gost with Homebrew, apk, MacPorts, Nix, pacman, apt

GO Simple Tunnel - a simple tunnel written in golang. Version 3.2.6 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:gost
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gost
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gost
```

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

### Linux

- apk (92%):

```sh
sudo apk add gost
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gost
```

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

- pacman (92%):

```sh
sudo pacman -S gost
```

  Evidence: Arch Linux sync databases: gost from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install golang-github-knqyf263-gost-dev
```

  Evidence: Ubuntu 24.04 LTS package indexes: golang-github-knqyf263-gost-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## Package facts

- **Package key:** brew:gost
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gost>
- **Version:** 3.2.6
- **Source summary:** GO Simple Tunnel - a simple tunnel written in golang
- **Homepage:** <https://gost.run/>
- **Repository:** <https://github.com/go-gost/gost>
- **Upstream docs:** <https://gost.run/en>
- **License:** MIT
- **Source archive:** <https://github.com/go-gost/gost/archive/refs/tags/v3.2.6.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gost (cli)
- gost (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.2.6
- Local data: ok
- Upstream repository: https://github.com/go-gost/gost
- Upstream latest detected: v3.2.6 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

GOST, short for GO Simple Tunnel, is a Go networking tool for proxying, port forwarding, reverse proxying, and tunneling. Its documentation describes three main tunnel modes: proxy service, port forwarding, and reverse proxy or intranet exposure.

### Project history

The older v2 documentation presents GOST as a simple security tunnel written in Go, covering HTTP(S), SOCKS, Shadowsocks, SNI, TLS, WebSocket, KCP, QUIC, SSH, obfs, relay, forward, redirect, and related tunnel patterns. The newer go-gost/gost repository and gost.run documentation carry the v3 line.

The v3 README shows the project evolving from a single tunnel command into a broad network toolbox: multi-port listeners, forwarding chains, TCP/UDP port forwarding, reverse proxy and tunnel modes, transparent proxying, DNS resolver/proxy features, TUN/TAP and tun2socks, load balancing, routing controls, admission and rate limiting, plugins, Prometheus metrics, dynamic configuration, a Web API, GUI, and WebUI.

### Adoption history

GOST is packaged by Homebrew and appears in other package ecosystems in the batch input, including Alpine, MacPorts, Nix, Arch, and Ubuntu source packages. Its upstream README also documents binary releases, an install script, source builds, and Docker usage.

### How it is used

Common usage combines listener and connector options to build proxies, forwarding chains, reverse tunnels, DNS proxying, transparent proxies, and controlled network paths. The configuration-file support matters for repeatable deployments, while one-line commands remain useful for temporary tunnel tests.

### Why package nerds care

GOST matters in package indexes because it compresses many proxy and tunneling roles into one Go binary with frequent releases and multi-platform assets. It overlaps with parts of sshuttle, socat, frp, shadowsocks tooling, and reverse-proxy utilities, so clear packaging names and version lines help users choose the intended GOST generation.

### Timeline

- 2017: The v2 documentation metadata records an early GOST documentation timestamp.
- 2020: The go-gost/gost GitHub repository line is identified by GitHub release metadata.
- 2025: v3.2.x releases continue the v3 line with regular changelog entries.
- 2026: Nightly v3.2.7 builds in the release feed show dependency bumps for go-gost/core and go-gost/x.

### Related projects

- go-gost/core is the core library referenced in v3 release notes.
- go-gost/x contains extended or experimental features referenced in v3 release notes.
- go-gost/gostctl and go-gost/gost-ui are GUI and WebUI companions linked from the README.
- The v2.gost.run documentation is the official legacy documentation surface.

### Sources

- <https://formulae.brew.sh/formula/gost>
- <https://github.com/go-gost/gost>
- <https://github.com/go-gost/gost/releases.atom>
- <https://gost.run/en/>
- <https://v2.gost.run/en/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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: ./gost.yml, ./gost.json, /etc/gost/gost.yml, /etc/gost/gost.json, ~/gost/gost.yml, ~/gost/gost.json
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gost
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** vulsio-gost
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - gost: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/gost/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - golang-github-knqyf263-gost-dev - 0.1.2-2: normalized package name match | Ubuntu 24.04 LTS package indexes: golang-github-knqyf263-gost-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | local copy tool of Security Tracker (Red Hat/Debian) written in go | https://github.com/knqyf263/gost
- Ubuntu apt - gost - 0.1.2-2: normalized package name match | Ubuntu 24.04 LTS package indexes: gost from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | local copy tool of Security Tracker (Red Hat/Debian) written in go | https://github.com/knqyf263/gost
- apk - gost - 3.2.6-r5: normalized package name match | Alpine Linux edge package indexes: gost from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GO Simple Tunnel - a simple tunnel written in golang | https://github.com/go-gost/gost
- apk - gost-doc - 3.2.6-r5: normalized package name match | Alpine Linux edge package indexes: gost-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GO Simple Tunnel - a simple tunnel written in golang (documentation) | https://github.com/go-gost/gost
- pacman - gost - 3.2.6-1: normalized package name match | Arch Linux sync databases: gost from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | GO Simple Tunnel | https://github.com/go-gost/gost
- MacPorts - gost: normalized package name match | MacPorts ports tree: net/gost/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [mihomo](https://www.automicvault.com/pkg/brew/mihomo/) - Shares av.db curated category or tags: cli, go, networking, proxy, tunnel.
- [proxychains-ng](https://www.automicvault.com/pkg/brew/proxychains-ng/) - Shares av.db curated category or tags: cli, http-proxy, networking, proxy, socks.
- [connect](https://www.automicvault.com/pkg/brew/connect/) - Shares av.db curated category or tags: cli, networking, proxy, socks.
- [dante](https://www.automicvault.com/pkg/brew/dante/) - Shares av.db curated category or tags: cli, networking, proxy, socks.
- [ocproxy](https://www.automicvault.com/pkg/brew/ocproxy/) - Shares av.db curated category or tags: cli, networking, port-forwarding, proxy, socks.
- [overtls](https://www.automicvault.com/pkg/brew/overtls/) - Shares av.db curated category or tags: cli, networking, proxy, tunnel.
- [redir](https://www.automicvault.com/pkg/brew/redir/) - Shares av.db curated category or tags: cli, networking, port-forwarding, proxy.
- [trojan-go](https://www.automicvault.com/pkg/brew/trojan-go/) - Shares av.db curated category or tags: cli, go, networking, proxy.
- [tun2proxy](https://www.automicvault.com/pkg/brew/tun2proxy/) - Local package facts share a topical domain. Shared terms: cli, http, http-proxy, networking, proxy.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- 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
