MacOS

Arch Linux

Install the dep package:

pacman -S dep

Install From Source

The snippet below installs the latest release of dep from source and sets the
version in the binary so that dep version works as expected.

Note that this approach is not recommended for general use. We don't try to
break tip, but we also don't guarantee its stability. At the same time, we love
our users who are willing to be experimental and provide us with fast feedback!

Development

If you want to hack on dep, you can install via go get:

go get -u github.com/golang/dep/cmd/dep

Note that dep requires a functioning Go workspace and GOPATH. If you're unfamiliar with Go workspaces and GOPATH, have a look at the language documentation and get your local workspace set up. Dep's model could lead to being able to work without GOPATH, but we're not there yet.