How To Install Go on a Mac

7 Views
Published
Ready to start programming with Go? We'll help you get started.

In this video, we'll show you how to download and install Go on your Mac computer. We'll walk you through modifying your bash profile, setting up environment and bin variables, creating nested directories, and testing your installation with sample code. You'll also learn some of the benefits of using an open-source programming language. If you want to jump to a specific task, here's a breakdown:

Intro: Overview of Setting Up Go Locally 0:00
Task 1 Download Installer from The Go Programming Language 0:33
Task 2 Run installer with default settings 1:24
Task 3 Confirm installation using command line 2:02
Task 4 Set up bash profile 3:02
Task 5 Create a workspace directory 4:22
Task 6 Create src folder inside workspace directory 4:45
Task 7 Create and navigate inside directory called hello 5:06
Task 8 Create file hello.go using touch command 5:18
Task 9 Open hello.go in code editor; paste script provided on the installation page 5:45
Task 10 Build .go file using Go tool 6:10
Task 11 Execute go file 6:28

Want to learn more about Go? Check out our related content below.
- Learn Go: https://bit.ly/3AhG7LQ
- 5 Reasons To Learn Go: https://bit.ly/3QXzHsf

- - - - -
Join the millions learning to code with Codecademy.
Learn to code: https://bit.ly/3wiPj1G
Check out our full course catalog: https://bit.ly/3cfRs7d
Category
Codecademy
Tags
golang install, golang install mac, golang mac
Be the first to comment