Hugo安装

Hugo有3个版本:

  • standard: 核心功能

  • extended: 增加了 WebP 图像处理解码 + Transpile Sass to CSS

  • extended/deploy: 在extended基础上增加了直接部署到Google Cloud bucket, AWS S3 bucket, Azure存储容器

通常建议使用 extended 版本

macOS

  • 直接使用 Homebrew 安装可能是最简单的方法了:

使用 Homebrew 安装Hugo
brew install hugo

Linux

  • 通过发行版可以直接安装 Hugo

Debian 系安装Hugo
apt install hugo
Arch Linux 系安装Hugo
pacman -S hugo

参考