mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
421a46947a
commit
99412bfe45
3 changed files with 12 additions and 16 deletions
|
@ -37,7 +37,7 @@ Ideally, you should install it somewhere in your `PATH` for easy use.
|
|||
`/usr/local/bin` is the most probable location.
|
||||
|
||||
On macOS, if you have [Homebrew](http://brew.sh/), installation is even
|
||||
easier: just run `brew update && brew install hugo`.
|
||||
easier: just run `brew install hugo`.
|
||||
|
||||
For a more detailed explanation follow the corresponding installation guides:
|
||||
|
||||
|
|
|
@ -60,21 +60,17 @@ When I did this, I had some problems with directory permissions. Searches on Goo
|
|||
|
||||
### Step 2: Run the `brew` command to install `hugo`
|
||||
|
||||
First, update the formulae and Homebrew itself by running:
|
||||
|
||||
```bash
|
||||
$ brew update
|
||||
```
|
||||
|
||||
Then, install Hugo using Homebrew by running:
|
||||
|
||||
|
||||
```bash
|
||||
$ brew install hugo
|
||||
==> Downloading https://homebrew.bintray.com/bottles/hugo-0.13_1.yosemite.bottle.tar.gz
|
||||
######################################################################## 100.0%
|
||||
==> Pouring hugo-0.13_1.yosemite.bottle.tar.gz
|
||||
🍺 /usr/local/Cellar/hugo/0.13_1: 4 files, 14M
|
||||
==> Downloading https://homebrew.bintray.com/bottles/hugo-0.21.sierra.bottle.tar.gz
|
||||
######################################################################## 100,0%
|
||||
==> Pouring hugo-0.21.sierra.bottle.tar.gz
|
||||
==> Using the sandbox
|
||||
==> Caveats
|
||||
Bash completion has been installed to:
|
||||
/usr/local/etc/bash_completion.d
|
||||
==> Summary
|
||||
🍺 /usr/local/Cellar/hugo/0.21: 32 files, 17.4MB
|
||||
```
|
||||
|
||||
(Note: Replace `brew install hugo` with `brew install hugo --HEAD`
|
||||
|
|
|
@ -254,7 +254,7 @@
|
|||
</a>
|
||||
<p> </p>
|
||||
<h4>Using Homebrew?</h4>
|
||||
<pre><code>brew update && brew install hugo</code></pre>
|
||||
<pre><code>brew install hugo</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
{{ "<!--row end-->" | safeHTML }}
|
||||
|
|
Loading…
Reference in a new issue