gbvm is a command-line tool for managing Go binaries installed in your GOPATH/bin directory. It lets you list installed binaries, check their versions, back up the list to JSON, and upgrade binaries to the latest releases.
go install github.com/tbxark/gbvm@latestUsage: gbvm list [options]
List all installed Go binaries
Options:
-help show help (default: false)
-json json mode (default: false)
-verbose show scan errors (default: false)
-versions show version (default: false)Usage: gbvm install [options] <backup file>
Install Go binaries from backup file
Options:
-help show help (default: false)Usage: gbvm upgrade [options] [bin1 bin2 ...]
Upgrade Go binaries
Options:
-help show help (default: false)
-skip-dev skip dev version (default: false)
-verbose show scan errors (default: false)# Install binaries from backup
gbvm install backup.json
# List all installed binaries with their versions
gbvm list -versions
# List binaries in JSON format
gbvm list -json
# Upgrade specific binaries
gbvm upgrade bin1 bin2
# Upgrade all binaries except development versions
gbvm upgrade -skip-devgbvm is released under the MIT license. See LICENSE for details.