Install Latest Hugo on Ubuntu/Debian

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

wget $(curl -s | grep -oP '"browser_download_url": "\K(.*)hugo_extended(.*)Linux-64bit.deb')
sudo dpkg -i hugo_extended*Linux-64bit.deb

Comments (1)

Saturday, Sep 24, 2022


I’m writing to thank you for your one-liner and to give you a heads-up: The filenames seem to have been changed, and you might want to edit Linux-64bit.deb to linux-amd64.deb.

Thank you

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


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