Install/update Hugo (static site generator)

I rarely update the hugo binary I use, but when I do this is how:

First. go to and find the latest version number. It’s important to copy it correctly, as the URLs are constructed from it. :mag:

pushd /tmp/ > /dev/null && \
curl -LO && \
tar -xzf hugo_=hugo_version=_Linux-64bit.tar.gz && \
chmod +x hugo && \
mv hugo -f =install_path= && \
popd > /dev/null && \
which hugo && \
hugo version

That’s my default install path, but I added it as a field in case I need to install in a non-standard location but feel super lazy otherwise… :yawning_face: