Tools:
Download here and then install
Run this commands in terminal:
sudo apt update
sudo apt search golang-go
sudo apt search gccgo-go
sudo apt install golang-go
- Download file
- Extract file
tar -xf "go1.18.1.linux-amd64.tar.gz"
- Setup permissions
sudo chown -R root:root ./go
- Move go binaries to local folder
sudo mv -v go /usr/local
- for Setup go path, open profile:
code ~/.bash_profile
orcode ~/.profile
- Append following to lines to file:
export GOPATH=$HOME/go export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
- source this file:
source ~/.bash_profile
orsource ~/.profile
- Run
go version
to check if go is installed
Run this command: go install github.com/go-delve/delve/cmd/dlv
Download frome here and then install
Run this commands in terminal or see this link:
sudo apt update
sudo apt-get install git
Run this commands in terminal
code --install-extension aaron-bond.better-comments
code --install-extension christian-kohler.path-intellisense
code --install-extension ckolkman.vscode-postgres
code --install-extension cweijan.vscode-redis-client
code --install-extension donjayamanne.githistory
code --install-extension eamodio.gitlens
code --install-extension esbenp.prettier-vscode
code --install-extension formulahendry.code-runner
code --install-extension golang.go
code --install-extension HookyQR.beautify
code --install-extension IBM.output-colorizer
code --install-extension mhutchie.git-graph
code --install-extension ms-azuretools.vscode-docker
code --install-extension PKief.material-icon-theme
code --install-extension premparihar.gotestexplorer
code --install-extension rangav.vscode-thunder-client
code --install-extension redhat.vscode-yaml
code --install-extension streetsidesoftware.code-spell-checker
code --install-extension TabNine.tabnine-vscode
code --install-extension VisualStudioExptTeam.vscodeintellicode
code --install-extension vscode-icons-team.vscode-icons
code --install-extension wmaurer.change-case