Install via curl | sh
Install via curl | sh
The quickest way to install goshs on any Linux, macOS, or BSD system — no package manager required.
The script will:
- Detect your OS and architecture automatically
- Fetch the latest release from GitHub
- Verify the SHA-256 checksum against the official
checksums.txt - Install the binary to
/usr/local/bin(falling back tosudoor~/binif needed)
Install a specific version
Install to a custom directory
Requirements
curlorwgetsha256sum(Linux) orshasum(macOS) — optional but recommended for checksum verificationtar
The script works on Linux, macOS, FreeBSD, OpenBSD, NetBSD, and DragonFly BSD, across x86_64, 386, arm64, and armv5/v6/v7 architectures.