📜  在 ubuntu 上安装 hugo - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:20             🧑  作者: Mango

代码示例1
wget -c "https://github.com/$(curl -s "https://github.com/gohugoio/hugo/releases" | grep -Eo "\/gohugoio\/hugo\/releases\/download.*hugo_extended_[0-9]+\.[0-9]+\.[0-9]+_Linux\-64bit\.deb" | head -n 1)" -O "hugo-$(uname -r).deb"; sudo dpkg -i "hugo-$(uname -r).deb"