sing-box/release/local/install_go.sh

7 lines
181 B
Bash
Raw Normal View History

2022-08-27 14:27:58 +00:00
#!/usr/bin/env bash
set -e -o pipefail
2022-09-13 08:24:44 +00:00
curl -Lo go.tar.gz https://go.dev/dl/go1.19.1.linux-amd64.tar.gz
2022-08-27 14:27:58 +00:00
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go.tar.gz
rm go.tar.gz