Installing Hugo is as easy as downloading the hugo
binary and putting it in your shell user's ~/bin
directory:
mkdir ~/bin
cd ~/bin
wget https://github.com/gohugoio/hugo/releases/download/v0.73.0/hugo_0.73.0_Linux-64bit.tar.gz
tar zxf hugo_0.73.0_Linux-64bit.tar.gz hugo
rm hugo_0.73.0_Linux-64bit.tar.gz
After you've done that you can create a new Hugo site:
cd ~
hugo new site mysite
After you've edited or updated the site files, you can publish the site to a static app like:
cd ~/mysite
hugo -d ~/apps/appname