Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 70b4da7

Browse files
paulbdaviscarolynvs
authored andcommitted
Update installation.md (#1604)
* Update installation.md - Add sections for different OS installs/manual install - Add link to AUR package for Arch Linux
1 parent f4a1517 commit 70b4da7

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

docs/installation.md

+21-2
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,35 @@ title: Installation
44

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

7-
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:
7+
8+
## Binary Installation
9+
10+
Pre-compiled binaries are available on the [releases](https://github.com/golang/dep/releases) page.
11+
12+
## MacOS
13+
14+
Install or upgrade to the latest released version with Homebrew:
815

916
```sh
1017
$ brew install dep
1118
$ brew upgrade dep
1219
```
1320

21+
## Arch Linux
22+
23+
Install the `golang-dep` package [from the AUR](https://aur.archlinux.org/packages/golang-dep/)
24+
25+
```sh
26+
git clone https://aur.archlinux.org/golang-dep.git
27+
cd golang-dep
28+
makepkg -si
29+
```
30+
31+
## Development
32+
1433
If you want to hack on dep, you can install via `go get`:
1534

1635
```sh
1736
go get -u github.com/golang/dep/cmd/dep
1837
```
19-
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.
38+
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 commit comments

Comments
 (0)