gup – Update binaries installed by “go install” with goroutines.

gup command update binaries installed by “go install” to the latest version. gup updates all binaries in parallel, so very fast. It also provides subcommands for manipulating binaries under $GOPATH/bin ($GOBIN).

gup is a cross-platform software that …


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by nchika

gup demo
gup command update binaries installed by "go install" to the latest version. gup updates all binaries in parallel, so very fast. It also provides subcommands for manipulating binaries under $GOPATH/bin ($GOBIN).

gup is a cross-platform software that runs on Windows, Mac and Linux. gup exists in the go awesome list and many unit tests have been written!!
Mentioned in Awesome Go

How to install

Use "go install"

If you does not have the golang development environment installed on your system, please install golang from the golang official website.

$ go install github.com/nao1215/gup@latest

Install from Package or Binary

The release page contains packages in .deb, .rpm, and .apk formats. gup command uses the go command internally, so the golang installation is required.

How to use

Update all binaries

If you update all binaries, you just run $ gup update.

$ gup update
gup:INFO : update binary under $GOPATH/bin or $GOBIN
gup:INFO : [ 1/30] github.com/cheat/cheat/cmd/cheat (Already up-to-date: v0.0.0-20211009161301-12ffa4cb5c87)
gup:INFO : [ 2/30] fyne.io/fyne/v2/cmd/fyne_demo (Already up-to-date: v2.1.3)
gup:INFO : [ 3/30] github.com/nao1215/gal/cmd/gal (v1.0.0 to v1.2.0)
gup:INFO : [ 4/30] github.com/matsuyoshi30/germanium/cmd/germanium (Already up-to-date: v1.2.2)
gup:INFO : [ 5/30] github.com/onsi/ginkgo/ginkgo (Already up-to-date: v1.16.5)
gup:INFO : [ 6/30] github.com/git-chglog/git-chglog/cmd/git-chglog (Already up-to-date: v0.15.1)
   :
   :

Update the specified binary

If you want to update only the specified binaries, you specify multiple command names separated by space.

$ gup update subaru gup ubume
gup:INFO : update binary under $GOPATH/bin or $GOBIN
gup:INFO : [1/3] github.com/nao1215/gup (v0.7.0 to v0.7.1)
gup:INFO : [2/3] github.com/nao1215/subaru (Already up-to-date: v1.0.2)
gup:INFO : [3/3] github.com/nao1215/ubume/cmd/ubume (Already up-to-date: v1.4.1)

Conclusion

If you use tools written in Golang, gup can be very helpful.


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by nchika


Print Share Comment Cite Upload Translate Updates
APA

nchika | Sciencx (2022-11-10T17:35:24+00:00) gup – Update binaries installed by “go install” with goroutines.. Retrieved from https://www.scien.cx/2022/11/10/gup-update-binaries-installed-by-go-install-with-goroutines/

MLA
" » gup – Update binaries installed by “go install” with goroutines.." nchika | Sciencx - Thursday November 10, 2022, https://www.scien.cx/2022/11/10/gup-update-binaries-installed-by-go-install-with-goroutines/
HARVARD
nchika | Sciencx Thursday November 10, 2022 » gup – Update binaries installed by “go install” with goroutines.., viewed ,<https://www.scien.cx/2022/11/10/gup-update-binaries-installed-by-go-install-with-goroutines/>
VANCOUVER
nchika | Sciencx - » gup – Update binaries installed by “go install” with goroutines.. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/11/10/gup-update-binaries-installed-by-go-install-with-goroutines/
CHICAGO
" » gup – Update binaries installed by “go install” with goroutines.." nchika | Sciencx - Accessed . https://www.scien.cx/2022/11/10/gup-update-binaries-installed-by-go-install-with-goroutines/
IEEE
" » gup – Update binaries installed by “go install” with goroutines.." nchika | Sciencx [Online]. Available: https://www.scien.cx/2022/11/10/gup-update-binaries-installed-by-go-install-with-goroutines/. [Accessed: ]
rf:citation
» gup – Update binaries installed by “go install” with goroutines. | nchika | Sciencx | https://www.scien.cx/2022/11/10/gup-update-binaries-installed-by-go-install-with-goroutines/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.