Skip to main content

Hugo command

Create server

hugo server --noHTTPCache --disableFastRender
hugo server --noHTTPCache --disableFastRender --ignoreCache

Create Post

hugo new post/create-virtual-environment-in-linux/index.md

Install Hugo

curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \
| grep browser_download_url \
| grep Linux-64bit.deb \
| grep -v extended \
| cut -d '"' -f 4 \
| wget -i -

curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \
| grep browser_download_url \
| grep extended_0.81.0_Linux-64bit.deb \
| cut -d '"' -f 4 \
| wget -i -