summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-29 14:17:47 +0200
committerGitHub <noreply@github.com>2018-08-29 14:17:47 +0200
commitf627903efaa1a5f7e137c2d409efd1e1e2db47f6 (patch)
treec56771ea4d71a6eb8dc5faee98f53a2ed738ecae /README.md
parenta2f0f9d475073c0bd01cfac960ee1939878fff0a (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 8 insertions, 12 deletions
diff --git a/README.md b/README.md
index e8b941aa6..d97011da0 100644
--- a/README.md
+++ b/README.md
@@ -57,22 +57,18 @@ Use the [installation instructions in the Hugo documentation](https://gohugo.io/
#### Prerequisite Tools
* [Git](https://git-scm.com/)
-* [Go (latest or previous version)](https://golang.org/dl/)
-
-#### Vendored Dependencies
-
-Hugo uses [dep](https://github.com/golang/dep) to vendor dependencies, but we don't commit the vendored packages themselves to the Hugo git repository. Therefore, a simple `go get` is _not_ supported because the command is not vendor aware.
-
-The simplest way is to use [mage](https://github.com/magefile/mage) (a Make alternative for Go projects.)
+* [Go (at least Go 1.11)](https://golang.org/dl/)
#### Fetch from GitHub
+Since Hugo 0.48, Hugo uses the Go Modules support built into Go 1.11 to build. The easiest is is to clone Hugo in a directory outside of `GOPATH`, as in the following example:
+
```bash
-go get github.com/magefile/mage
-go get -d github.com/gohugoio/hugo
-cd ${GOPATH:-$HOME/go}/src/github.com/gohugoio/hugo
-mage vendor
-mage install
+mkdir $HOME/src
+cd $HOME/src
+git clone https://github.com/gohugoio/hugo.git
+cd hugo
+go install
```
**If you are a Windows user, substitute the `$HOME` environment variable above with `%USERPROFILE%`.**