Skip to content

Commit

Permalink
Merge pull request #492 from haubourg/rhaubourg/deb_many_versions_for…
Browse files Browse the repository at this point in the history
…_hugo

how to run a specific deb version of hugo
  • Loading branch information
Xpirix authored Dec 3, 2024
2 parents 1cdb5fb + 44da181 commit 1b9966f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,17 @@ Download the deb above and then do

``sudo dpkg -i hugo_extended_0.126.1_linux-amd64.deb``

### 🪟 Windows:
**📝 Note:** if your system has another version of Hugo, no need to mess up with docker, snap, nix. Just extract the binaries somewhere with `dpkg -x` .
Example, assuming that you use a dedicated directory for your local binaries :

```sh
mkdir -p ~/apps/hugo_128/
wget https://github.com/gohugoio/hugo/releases/download/v0.128.0/hugo_extended_0.128.0_linux-amd64.deb --output-document ~/apps/hugo_128/hugo_extended_0.128.0_linux-amd64.deb
dpkg -x hugo_extended_0.128.0_linux-amd64.deb
~/apps/hugo_128/usr/local/bin/hugo server
```

### 🪟 Windows

[Follow these notes](https://gohugo.io/installation/windows/#prebuilt-binaries)

Expand Down

0 comments on commit 1b9966f

Please sign in to comment.