
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
www.github.com/canha/golang-tools-install-script.git
Advanced tools
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:
Supported shells:
wget or curlDownload and run with wget or curl. Here's the short version using the official git.io shortening:
# Linux typically has wget installed
wget -q -O - https://git.io/vQhTU | bash
# macOS typically has curl installed
curl -L https://git.io/vQhTU | bash
Or, if you are more comfortable with the raw URL:
wget -q -O - https://raw.githubusercontent.com/canha/golang-tools-install-script/master/goinstall.sh | bash
# or...
curl https://raw.githubusercontent.com/canha/golang-tools-install-script/master/goinstall.sh | bash
Pass the --version option into the script including the version that you wish to install.
wget -q -O - https://git.io/vQhTU | bash -s -- --version 1.18
# or...
curl -L https://git.io/vQhTU | bash -s -- --version 1.18
Pass the --remove option into the script:
wget -q -O - https://git.io/vQhTU | bash -s -- --remove
# or...
curl -L https://git.io/vQhTU | bash -s -- --remove
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:
export GOROOT=/opt/go
export GOPATH=$HOME/projects/go
I no longer have the ability to perform automated testing for free. Testers are welcome! ↩
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.