sing-box/release/local/install_go.sh
2022-11-08 23:19:53 +08:00

7 lines
181 B
Bash
Executable File

#!/usr/bin/env bash
set -e -o pipefail
curl -Lo go.tar.gz https://go.dev/dl/go1.19.3.linux-amd64.tar.gz
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go.tar.gz
rm go.tar.gz