Skip to content

Commit

Permalink
updated go
Browse files Browse the repository at this point in the history
  • Loading branch information
charnley committed Apr 9, 2024
1 parent 6c2c6bb commit 9ccc5e1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup/go_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

cd ~/deb/

wget https://go.dev/dl/go1.21.5.linux-amd64.tar.gz
extract go1.21.5.linux-amd64.tar.gz
version=$(curl https://go.dev/VERSION?m=text | head -n 1)

wget "https://dl.google.com/go/$version.linux-amd64.tar.gz"
tar xvf $version.linux-amd64.tar.gz

mv go ~/opt/
ln -s ~/opt/go/bin/go ~/bin/go

0 comments on commit 9ccc5e1

Please sign in to comment.