update and manage the Go tools in your $GOBIN

go install puts a binary in $GOBIN and never touches it again. gup manages that set: it updates every tool in parallel, pins the ones that must stay put, and exports the whole set so another machine can reproduce it.

gup updating the binaries under $GOBIN

Try it in 30 seconds #

go run github.com/nao1215/gup@latest check
check binary under $GOPATH/bin or $GOBIN
[1/3] github.com/nao1215/gup (current: v0.7.0, latest: v0.7.1 / go1.26.4)
[2/3] github.com/x-motemen/ghq (Already up-to-date: v1.6.3 / go1.26.4)
[3/3] golang.org/x/tools/gopls (Already up-to-date: v0.20.0 / go1.26.4)

If you want to update binaries, run the following command.
           $ gup update gup

There is nothing to configure: gup reads the build info already stamped into the binaries in $GOBIN. check never installs anything.

Next steps #

gup update                       # bring the whole set up to date, in parallel
gup pin golangci-lint v1.62.0    # hold one tool where CI holds it
gup export                       # write the set to gup.json for another machine

The cookbook has the rest: branch channels, --json for scripts, migrating to a new $GOBIN after a Go upgrade, and reading a failed update.

When to use gup #

You wantUse
Tools scoped to one project, recorded in its go.modgo tool
A declarative, multi-language runtime and tool managermise, aqua
To update the Go binaries already in your $GOBIN, in parallel, with pinsgup

gup is for the tools you run from any directory and keep alongside your dotfiles.

Install #

go install github.com/nao1215/gup@latest

Homebrew, winget, Scoop, mise, nix, aqua, the AUR, and prebuilt packages are on the install page.

Integrations #

These upgrade tools run gup. gup needs no extra setup for them.