Next we need to add Go to our environment profile so that it can get picked up by our command line. Then we want to download the latest version (currently 1.18). Run the following command in WSL Ubuntu: sudo rm -rf /usr/local/go* & sudo rm -rf /usr/local/go Check it out: Installationįirst we want to remove old versions of Go. Let's go! Is there a video?įunny you ask? I've also recorded a 4min video that takes you through the process if you are a visual person. I chose to go with WSL 2 and use Ubuntu for my new playground but I also wanted to install everything from the command line. With Go 1.18 just out and in GA, I was curious to give Go "a go" (pun intended) and play around a bit with Generics - a highly anticipated feature in Go! but first I had to install it. Install Go on WSL Ubuntu from the command line 16 March 2022
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |