Go Manager — SDKMAN-style version manager. Zero dependencies on Go itself. Works on any Linux or macOS.
Install with one command:
curl -sSL https://raw.githubusercontent.com/gohacks/gom/main/install.sh | bash
Gom lets you install, switch, and manage multiple Go versions without touching system packages. Inspired by SDKMAN, built in pure Bash.
gom use 1.23 in one terminal, gom use 1.24 in another.
Remote install (recommended):
curl -sSL https://raw.githubusercontent.com/gohacks/gom/main/install.sh | bash
Or from the project folder:
bash install.sh
The script automatically configures your PATH in .bashrc and .zshrc.
| Command | Description |
|---|---|
gom list |
List available versions from go.dev |
gom list installed |
List installed versions |
gom install latest |
Install latest stable version |
gom install 1.24 |
Install specific version (e.g. Go 1.24.x) |
gom use latest |
Set latest installed as default |
gom use 1.24 |
Set default version |
gom current |
Show current default version |
gom init |
Generate command to add to PATH |
~/.gom/versions/ — Installed versions (go1.24.12, go1.23.5, ...)~/.gom/current — Symlink to default versioncurl — Downloadtar — Extractionjq (optional) — JSON parsing (fallback with grep/sed)