update-golang is a script to easily fetch and install new Golang releases with minimum system intrusion. The script uses local system OS and ARCH to download the correct binary release. It is not harmful to run the script multiple times. Downloaded releases are kept as cache under '/usr/local'. You can erase them manually. By default, the script only detects actual releases (not beta releases, not release candidates). However one can force any specific non-final release. The default behavior is to install Golang globally for all system users. However, you can use the environment variables to point locations to your per-user home directory. The per-user installation does not need root (sudo) privileges. You can use the '-declutter' option to prevent caching downloaded archives.

Features

  • The script uses local system OS and ARCH to download the correct binary release
  • By default, the script only detects actual releases (not beta releases, not release candidates)
  • One can force any specific non-final release
  • The script DOES NOT ever modify the GOPATH variable
  • You can customize the behavior by setting environment variables
  • You can use the 'remove' option to undo update-golang.sh work

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow update-golang

update-golang Web Site

nel_h2
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of update-golang!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Unix Shell

Related Categories

Unix Shell Frameworks

Registered

2023-01-30