So today I was working on my “main” computer which didn’t have much set up on it. Basically only git bash. Problem is I wanted to work on my Hugo site and theme.

To do that I needed to install the version of Hugo with extended support for SCSS. This requires gcc. The quickest solution I found was to just install msys2. Once installed and added to the path it was just a matter of changing to the Hugo directory and running go install --tags extended.

$ cd /d/Code/hugo/
$ go install --tags extended
$ hugo version
hugo v0.103.0-DEV-06c3ac67411e2faaf1545427d4df4e326fffd3c0+extended windows/amd64 BuildDate=2022-09-03T09:38:03Z

Enjoy this post?
How about buying me a coffee?