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

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
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