Basic golang setup December 19, 2020 One-minute read golang • linux • development Install sudo pacman -S go Configure Add these to your ~/.bash_profile: export GOPATH=~/.gopath export PATH=$GOPATH/bin:$PATH Use Install packages with: go get -u -v package-name And modules with: env GO111MODULE=on go get -v module-name