Skip to content

go-install - download and extract a golang official binary to /usr/local/go

License

Notifications You must be signed in to change notification settings

s3fxn/go-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 12, 2025
06bc5f0 · Jan 12, 2025

History

15 Commits
Oct 21, 2018
Jan 12, 2025
Jan 12, 2025
Oct 21, 2018
Oct 21, 2018
Oct 21, 2018
Nov 18, 2018
Oct 21, 2018
Dec 28, 2021

Repository files navigation

go-install

go-install - download and extract a golang official binary to /usr/local/go

Installation

$ gem install go-install
(you may need to run as root or through sudo.)

Usage

go-install version

Examples
$ sudo go-install latest
$ sudo go-install 1.11.1
$ sudo go-install 1.10.4

PATH setting
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$HOME/go/bin

Examples

centos7_golang.sh

ubuntu18.04_golang.sh

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/s3fxn/go-install.

License

The gem is available as open source under the terms of the MIT License.

About

go-install - download and extract a golang official binary to /usr/local/go

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published