f13583b555
See https://github.com/golang/go/issues/38158. |
||
---|---|---|
.github | ||
cmd/dep | ||
docs | ||
gps | ||
hack | ||
internal | ||
testdata | ||
vendor | ||
website | ||
.codeclimate.yml | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
Gopkg.lock | ||
Gopkg.toml | ||
LICENSE | ||
MAINTAINERS.md | ||
Makefile | ||
PATENTS | ||
README.md | ||
analyzer.go | ||
analyzer_notwindows_test.go | ||
analyzer_test.go | ||
analyzer_windows_test.go | ||
appveyor.yml | ||
context.go | ||
context_test.go | ||
doc.go | ||
install.sh | ||
lock.go | ||
lock_test.go | ||
manifest.go | ||
manifest_test.go | ||
project.go | ||
project_test.go | ||
test_project_context_test.go | ||
txn_writer.go | ||
txn_writer_test.go |
README.md
Dep
dep
is a dependency management tool for Go. It requires Go 1.9 or newer to compile.
NOTE: Dep was an official experiment to implement a package manager for Go. As of 2020, Dep is deprecated and archived in favor of Go modules, which have had official support since Go 1.11. For more details, see https://golang.org/ref/mod.
For guides and reference materials about dep
, see the documentation.
Installation
You should use an officially released version. Release binaries are available on the releases page.
On MacOS you can install or upgrade to the latest released version with Homebrew:
$ brew install dep
$ brew upgrade dep
On Debian platforms you can install or upgrade to the latest version with apt-get:
$ sudo apt-get install go-dep
On Windows, you can download a tarball from go.equinox.io.
On other platforms you can use the install.sh
script:
$ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
It will install into your $GOPATH/bin
directory by default or any other directory you specify using the INSTALL_DIRECTORY
environment variable.
If your platform is not supported, you'll need to build it manually or let the team know and we'll consider adding your platform to the release builds.
If you're interested in getting the source code, or hacking on dep
, you can
install via go get
:
go get -u github.com/golang/dep/cmd/dep