Skip to content

Commit

Permalink
Update installation.md (golang#1604)
Browse files Browse the repository at this point in the history
* Update installation.md

- Add sections for different OS installs/manual install
- Add link to AUR package for Arch Linux
  • Loading branch information
paulbdavis authored and carolynvs committed Feb 6, 2018
1 parent f4a1517 commit 70b4da7
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,35 @@ title: Installation

It is strongly recommended that you use a released version of dep. While tip is never purposefully broken, its stability is not guaranteed.

Pre-compiled binaries are available on the [releases](https://github.com/golang/dep/releases) page. On MacOS, you can also install or upgrade to the latest released version with Homebrew:

## Binary Installation

Pre-compiled binaries are available on the [releases](https://github.com/golang/dep/releases) page.

## MacOS

Install or upgrade to the latest released version with Homebrew:

```sh
$ brew install dep
$ brew upgrade dep
```

## Arch Linux

Install the `golang-dep` package [from the AUR](https://aur.archlinux.org/packages/golang-dep/)

```sh
git clone https://aur.archlinux.org/golang-dep.git
cd golang-dep
makepkg -si
```

## Development

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

```sh
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](https://golang.org/doc/code.html#Organization) 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.
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](https://golang.org/doc/code.html#Organization) 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.

0 comments on commit 70b4da7

Please sign in to comment.