Glide is a package manager for Go that is conceptually similar to package managers for other languages such as Cargo for Rust, NPM for Node.js, Pip for Python, Bundler for Ruby, and so forth.
Glide provides the following functionality:
glide.yaml
file. This includes a name, version or version range, version control information for private repos or when the type cannot be detected, and more.glide.lock
file. This enables reproducibly fetching the dependency tree.go get
.vendor/
directories, known as the Vendor Experiment, so that different projects can have differing versions of the same dependencies.There are a few ways to install Glide.
curl https://glide.sh/get | sh
brew install glide
can be used if you're using Homebrew on Mac.go get
. For example, go get -u github.com/Masterminds/glide
. This is not a release version.