Skip to content

Instantly share code, notes, and snippets.

View DipandaAser's full-sized avatar
😁
Compile...

Dipanda Aser DipandaAser

😁
Compile...
View GitHub Profile
@DipandaAser
DipandaAser / wsl-go-install.sh
Last active March 10, 2022 03:56 — forked from ScottJWalter/wsl-go-install.sh
Script to install Go 1.17 on Linux and WSL (Windows Subsystem for Linux)
#!/bin/bash
set -e
GVERSION="1.17"
GFILE="go$GVERSION.linux-amd64.tar.gz"
GOPATH="$HOME/projects/go"
GOROOT="/usr/local/go"
if [ -d $GOROOT ]; then
echo "Installation directories already exist $GOROOT"