improve doc
This commit is contained in:
parent
05450fed46
commit
07f7b5a6de
1 changed files with 9 additions and 7 deletions
|
@ -4,18 +4,20 @@
|
||||||
#### remove old version
|
#### remove old version
|
||||||
sudo rm -rf ~/go
|
sudo rm -rf ~/go
|
||||||
### download latest version and configure
|
### download latest version and configure
|
||||||
curl -OL https://go.dev/dl/$(curl 'https://go.dev/VERSION?m=text').linux-amd64.tar.gz
|
curl -OL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz
|
||||||
|
|
||||||
extract latest version to ~/go
|
# extract latest version to ~/go
|
||||||
tar -C ~ -xzf go*.linux-amd64.tar.gz
|
tar -C ~ -xzf go*.linux-amd64.tar.gz
|
||||||
|
|
||||||
APPEND='export PATH=$PATH:$HOME/go/bin'
|
# append path
|
||||||
|
```
|
||||||
echo $APPEND >> $HOME/.profile
|
(meissa) jem@meissa-ide-2023:~$ cat .bashrc.d/go.sh
|
||||||
|
PATH=$PATH:$HOME/go/bin
|
||||||
|
export PATH
|
||||||
|
```
|
||||||
|
|
||||||
## VScode optional - TODO!?!
|
## VScode optional - TODO!?!
|
||||||
Go extension autoinstall
|
"Go for VS Code v0.39.1"
|
||||||
install gpls, div, etc.
|
|
||||||
|
|
||||||
## Testing forgejo
|
## Testing forgejo
|
||||||
full:
|
full:
|
||||||
|
|
Loading…
Reference in a new issue