{"repo":"canha/golang-tools-install-script","free":true,"listed":false,"github":"https://github.com/canha/golang-tools-install-script","clone":"git clone https://github.com/canha/golang-tools-install-script.git","description":"Simple Bash script to automate Go language tools single user installation or even removal.","language":"Shell","stars":593,"topics":["shell","linux","macos","bash","installer","golang","fish-shell"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"golang-tools-install-script Bash script to automate installation and removal of single-user Go language tools. Feel free to change the variables on the beginning to match whatever version of Go you need. Tested working on: :white check mark: Ubuntu ⚠️ macOS, generally [^1] :white check mark: Fedora (Workstation) [^1]: I no longer have the ability to perform automated testing for free. Testers are welcome! Supported shells: Bash, fish, Zsh :hammer: Requirements wget or curl Bash shell :fast forward: Install Download and run with wget or curl . Here's the short version using the official git.io shortening: Or, if you are more comfortable with the raw URL: :package: Install a custom Go version Pass the --version option into the script including the version that you wish to install. Example: :no entry sign: Uninstall Pass the --remove option into the script: :pencil: Notes By default, the script will create .go and go folders on your home directory and add the needed variables and PATH expansion. $HOME/.go is the directory where Go will be installed to. $HOME/go is the default workspace directory. Read more about the workspace. In order to install Go into another location, set the environment variables $GOROOT and $GOPATH before (un)installing:","default_branch":null,"files":null,"tree":[],"storefront":"/r/canha","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/canha/golang-tools-install-script/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."}