Skip to content

A simple Go Language installer for Linux.

License

Notifications You must be signed in to change notification settings

saltchang/instgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instgo

A simple Go Language installer for Linux.

instgo

Requirement

  • Linux
  • Bash 5+

Usage

You can clone this repo and run:

./instgo

Or just run without clone:

bash <(curl -sS https://raw.githubusercontent.com/saltchang/instgo/main/instgo)

This installation script will prompt you to select a version of Go to install,
and download the package from official source, extract and install the packages for you.

Note that this script use the default path(/usr/local/go) to install the packages.
It may prompt you the password for root permission to remove the previous installation and install the new one.

After packages installed, the script will add the path to Go into your shell profile($HOME/.zshrc, $HOME/.bashrc, or $HOME/.bash_profile) automatically.

For more information, please see the official document of Go.

License

License: MIT