Skip to content

Commit

Permalink
Update README.md install section.
Browse files Browse the repository at this point in the history
This commit adds an additional step to the README.md install section to
run the go version command and check the version so people that are
installing it for the first time and ensure they are running a high
enough version and have GOROOT and GOPATH set correctly.
  • Loading branch information
davecgh committed May 29, 2015
1 parent d12b3a1 commit 50008d0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,22 @@ https://github.com/btcsuite/btcd/releases
- Install Go according to the installation instructions here:
http://golang.org/doc/install

- Ensure Go was installed properly and is a supported version:

```bash
$ go version
$ go env GOROOT
$ go env GOPATH
```

NOTE: The `GOROOT` and `GOPATH` above must not be the same path. It is
recommended that the `GOPATH` is set to a directory in your home directory such
as `~/goprojects` to avoid write permission issues.

- Run the following command to obtain btcd, all dependencies, and install it:

```bash
$ go get github.com/btcsuite/btcd/...
$ go get -u github.com/btcsuite/btcd/...
```

- btcd (and utilities) will now be installed in either ```$GOROOT/bin``` or
Expand Down

0 comments on commit 50008d0

Please sign in to comment.