go: Setup
csm
1 min read
Requirements:
os: linux mint
go version: 1.22.5 or above
vs code (with go extension)
Steps:
Download go package from go's website.
Unpack it in a place of your choice.
Add go binary path to PATH environment variable:
- Add this line to .bashrc file:
export PATH=$PATH:path-to-go-binary
Test it:
- Open terminal and run:
go version
Output (would be something like this):
go version go1.22.5 linux/amd64
Open vs code and install go's official extension from extensions.
It will ask for downloading some tools(like gopls) for go development,
click on install.
Now you are good to go!
0
Subscribe to my newsletter
Read articles from csm directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by