https://github.com/l1ghtn1ng/go-updater
Go program to install and update the go programming language
https://github.com/l1ghtn1ng/go-updater
developer-tools go golang golang-application hacktoberfest linux programming
Last synced: 3 months ago
JSON representation
Go program to install and update the go programming language
- Host: GitHub
- URL: https://github.com/l1ghtn1ng/go-updater
- Owner: L1ghtn1ng
- License: gpl-3.0
- Created: 2025-09-15T20:17:16.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-03-29T19:02:40.000Z (4 months ago)
- Last Synced: 2026-03-29T21:18:17.053Z (4 months ago)
- Topics: developer-tools, go, golang, golang-application, hacktoberfest, linux, programming
- Language: Go
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Go Updater
Installer automates installing the latest Go per https://go.dev/doc/install
## Steps
1. Download the latest version archive for your OS/ARCH from go.dev.
2. Remove any previous /usr/local/go directory (requires sudo/root).
3. Extract the archive into /usr/local (requires sudo/root).
4. Ensure /usr/local/go/bin is on PATH by adding to $HOME/.profile (idempotent).
5. Verify with `go version`.
## Usage examples
```sh
go run . # install latest
go run . --version go1.26.0
go run . --dry-run # show what would be done
go run . --system # also add a system-wide PATH entry (requires sudo)
```