goupdate v1.4
Cross-platform Go version manager

Install, update, and switch Go versions from your terminal.

One command, official releases, every platform. goupdate downloads Go from go.dev, verifies it, and keeps your PATH tidy โ€” even on a fresh machine.

$ goupdate 1.26
  • Official releases from go.dev
  • Linux ยท macOS ยท Windows
  • MIT licensed
~  goupdate
$ goupdate 1.26
๐ŸŸข Searching go1.26.1 online
โŒ› Downloading [โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 100% (165/165 MB)
โœ… Download completed
โœ… Removed previous go1.25.8
โœ… Installation completed
โœ… Successfully installed go1.26.1
$ go version
go version go1.26.1 linux/amd64
$
Install

Pick your platform.

One command everywhere. Use go install if you already have Go, or grab a standalone binary from Releases.

With Go already installed
$ go install github.com/goozt/goupdate@latest
Fresh machine โ€” download binary
$ curl -L https://github.com/goozt/goupdate/releases/latest -o goupdate
On Linux
  • Installs Go to /usr/local/go from .tar.gz archive.
  • Appends PATH exports to ~/.bashrc, ~/.zshrc, and ~/.profile (whichever exist).
  • Prompts for sudo automatically โ€” run as normal user.
Commands

Five commands. One binary.

Every action is a verb you'd type anyway. No subcommand trees, no flags to memorize.

Install

Pin to a major version and goupdate grabs the latest patch โ€” or pin an exact version.

$ goupdate 1.26

Update

Same command, run again. Replaces the existing installation with the newest patch release.

$ goupdate 1.26

Switch versions

Move between minor versions instantly. No version managers or shims to configure.

$ goupdate 1.25.1

Clean cache

Wipe downloaded archives once you're done. Frees disk space without touching your install.

$ goupdate clean

Uninstall Go

Remove the current Go installation cleanly โ€” directory, binaries, and PATH entries.

$ goupdate uninstall
Before you install

Two things to know.

goupdate edits your PATH
Linux & macOS โ€” appends export lines to ~/.bashrc, ~/.zshrc, and ~/.profile. Restart your shell or source the file to apply.
Windows โ€” updates the user-level Path via PowerShell. Open a new terminal afterwards.
About sudo and privileges
On Linux & macOS, goupdate writes to /usr/local/go and will prompt for sudo automatically โ€” don't run sudo goupdate, just goupdate. Windows writes to C:\go directly and never needs elevation.