1. Go to[https://golang.org/dl](https://golang.org/dl)
2. Select your OS and download
3. Start the installer
1.**Windows:**
1. Installs Go to`C:\Go`
2. Your `$GOPATH` will be`C:\Go\src`
2.**OS X:**
1. Installs Go to`~/go`
2. Your `$GOPATH` will be`~/go/src`
<divstyle="page-break-after: always;"></div>
# 4 Configure VS Code
1. Open VS Code; from the extensions tab at the left, search for "go" and install it
2. Close VS Code completely and open it up again
3. Go to View menu; select **Command Palette**
1. Or just press `cmd+shift+p` or `ctrl+shift+p`
2. Type: `go install`
3. Select _"Go: Install/Update Tools"_
4. Check all the checkboxes
4. After it's done, open the **Command Palette** again
1. Type: `shell`
2. Select: _"Install 'code' command in PATH"_
1.**NOTE:** You don't have to do this if you're on Windows.
5.**Additional Step for Windows Users:Git-Bash**
* In this course I'll be using bash commands. Bash is just a command-line interface used in OS X and Linux. It's one of the most popular command-line interfaces. So, if you want to use it too, instead of using the Windows default command-line, you can use git bash that you've installed. With git bash, you can type a command in command-line as you're on OS X or Linux.
* If you don't want to use git bash, it's ok too. It depends on you. But note that, I'll be using bash commands mostly. Because, it allows more advanced commands as well.
2. Or, if there's one, click on the icon on your desktop
3. Also setup VS Code to use git-bash by default:
1. Open VSCode
2. Go to Command Palette
1. Type: `terminal`
2. Select: _"Terminal: Select Default Shell"_
3. And, Select: _"Git Bash"_
4.**NOTE:** Normally, you can find your files under `c:\`, however, when you're using git bash, you'll find them under `/c/` directory. It's actually the very same directory, it's just a shortcut.
## That's all! Enjoy! 🤩
<divstyle="page-break-after: always;"></div>
> For more tutorials: [https://blog.learngoprogramming.com](https://blog.learngoprogramming.com)