Source: Hugo > Getting Started > Installing
This web site is generated by Hugo.
Installing Hugo on Linux is as simple as dowloading a binary in a tarball, extracting it and make it available on the searchpath ($PATH
).
-
Select a version and the platform architecture to install from the Hugo’s releases web page
-
Download the tarball:
1 2
$ cd ~/Downloads $ wget https://github.com/gohugoio/hugo/releases/download/v0.80.0/hugo_0.80.0_Linux-64bit.tar.gz
-
Unpack the tarball:
1 2 3 4
$ tar -xvf hugo_0.80.0_Linux-64bit.tar.gz LICENSE README.md hugo
-
Move the
hugo
executable to a directory on your searchpath:1
$ sudo mv hugo /usr/local/bin
Alternatively, move it to some other path and add that path to the
PATH
environment variable:1 2
$ mv hugo /my/tool/path $ export PATH=/my/tool/path:$PATH # add this to your .bashrc
-
Check if the
hugo
command can be executed:1 2
$ hugo version Hugo Static Site Generator v0.80.0-792EF0F4 linux/amd64 BuildDate: 2020-12-31T13:37:58Z