update readme
This commit is contained in:
parent
f4635a5463
commit
8355a3f91c
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -19,6 +19,17 @@ sudo apt install git
|
|||
```
|
||||
|
||||
Install latest version of Go !
|
||||
```bash
|
||||
# sudo apt update
|
||||
GOVERSION=$(curl https://go.dev/VERSION?m=text)
|
||||
wget "https://dl.google.com/go/$GOVERSION.linux-amd64.tar.gz"
|
||||
sudo tar -C /usr/local -xzf "$GOVERSION.linux-amd64.tar.gz"
|
||||
cd
|
||||
echo "export PATH=\$PATH:/usr/local/go/bin" >> .bashrc
|
||||
source .bashrc
|
||||
go version
|
||||
```
|
||||
|
||||
// TODO
|
||||
// 1. get tar.gz from original website
|
||||
// 2. extract tar.gz
|
||||
|
|
Loading…
Reference in a new issue