{"repo":"kerolloz/go-installer","free":true,"listed":false,"github":"https://github.com/kerolloz/go-installer","clone":"git clone https://github.com/kerolloz/go-installer.git","description":"Go-Installer: Effortless Golang Installation with One Command! 🚀","language":"Shell","stars":220,"topics":["go","golang","installer","install","shell","script","mac","linux","bash","shell-script"],"license":"MIT","category":"cli-tools","readme_excerpt":"Go Installer 🐹 Install Golang on Linux or Mac with hassle of environment variables setting . How to use it 🤔 Installing (or even updating ) Go ⬇️ You can clone the repository and then run bash go.sh . Or by simply running whatever suits you from the following commands ( wget or curl ): Now, you can go grab a cup of coffee :coffee:, sit back :relieved: and relax while the magic happens! :crystal ball: Note By default the script will create .go and go folders on your HOME directory & add the needed variables to your PATH variable. $HOME/.go is where Go will be installed. $HOME/go is the default workspace. In order to install Go to another location or set custom workspace. You can set environment variables GOROOT or GOPATH before installing (or uninstalling) Go. For example: Read more about workspaces in Go. Specifying a version to install 🧐 By default, the script installs the latest version available. You can choose what version to install by adding the --version flag, followed by the version you want to install. Show Help Message 🍁 To show the following help message use bash go.sh help . Uninstalling Go ❌ How it works ⚙️ The script does the following steps: - Checks if Go is already installed. - Detects the installed operating system (Linux or Mac). - Detects system architecture (armv6, armv8, amd64, i386). - Parses the download page to find the latest version of Go that is available for your platform and architecture. - Exits if you have the latest version of Go already i","default_branch":null,"files":null,"tree":[],"storefront":"/r/kerolloz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kerolloz/go-installer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}