sing-box/release/local/install_go.sh

8 lines
182 B
Bash
Raw Permalink Normal View History

2022-08-27 22:27:58 +08:00
#!/usr/bin/env bash
set -e -o pipefail
2023-02-18 21:14:17 +08:00
curl -Lo go.tar.gz https://go.dev/dl/go1.20.1.linux-amd64.tar.gz
2022-08-27 22:27:58 +08:00
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go.tar.gz
2023-02-18 21:14:17 +08:00
rm go.tar.gz