Install Latest Hugo on Ubuntu/Debian

Install the latest Hugo Extended on Ubuntu or Debain. This should work on Windows WSL.

wget $(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep -oP '"browser_download_url": "\K(.*)hugo_extended(.*)Linux-64bit.deb')
sudo dpkg -i hugo_extended*Linux-64bit.deb

Thank you

Your comment has been submitted and will be published once it has been approved.

OOPS!

Your comment has not been submitted. Please go back and try again. Thank You!

If this error persists, please open an issue by clicking here.

Say something