# How to Build and Install Go Programs

## Metadata
- Author: [[Gopher Guides]]
- Full Title: How to Build and Install Go Programs
- Category: #articles
- Summary: This tutorial explains how to build and install Go programs using the Go toolchain. It shows how to create executable binaries with go build and install them system-wide with go install. These binaries can run on any compatible system without needing Go installed.
- URL: https://www.digitalocean.com/community/tutorials/how-to-build-and-install-go-programs
## Highlights
- The `go install` command behaves almost identically to `go build`, but instead of leaving the executable in the current directory, or a directory specified by the `-o` flag, it places the executable into the `$GOPATH/bin` directory. ([View Highlight](https://read.readwise.io/read/01k1ktyrzp9jwb11azcbdmre7r))