Last active
March 18, 2018 05:55
-
-
Save dcrck/5c1a181c6f081eae985d2edf2791665e to your computer and use it in GitHub Desktop.
Simple script to download/install latest Hugo binary to your x64 Linux OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://github.com/gohugoio/hugo/releases/latest | grep -Po "(\d+\.)+\d+" | xargs -i wget https://github.com/gohugoio/hugo/releases/download/v{}/hugo_{}_Linux-64bit.deb | |
sudo dpkg -i hugo*.deb /usr/local/bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment