Featured image of post Update Hugo To Hugo-extended

Update Hugo To Hugo-extended

Update Hugo To Hugo-extended

Why not Hugo but Hugo-extended?

Some themes use SCSS and TypeScript, that’s why Hugo extended version is required. If you are using a non-extended Hugo installation, you will get the following error:

1
Error: Error building site: TOCSS: failed to transform "scss/style.scss" (text/x-scss): this feature is not available in your current Hugo version

Download

Get to https://github.com/gohugoio/hugo/releases and download e.g. hugo_extended_0.143.1_windows-amd64.zip. Or just winget in the cmd:

1
winget install Hugo.Hugo.Extended

Extract

Extract the zip in the suitable location:

1
2
3
4
5
PS D:\> tree .\hugo_extended /f /a
    D:\HUGO_EXTENDED
        hugo.exe
        LICENSE
        README.md

Verify

Verify the installation:

1
2
PS D:\> D:/hugo_extended/hugo version
    hugo v0.143.1-0270364a347b2ece97e0321782b21904db515ecc+extended windows/amd64 BuildDate=2025-02-04T08:57:38Z VendorInfo=gohugoio

After that, the origin hugo D:/hugo_dir can be deprecated and all the commands e.g. D:/hugo_dir/hugo can be changed to D:/hugo_extended/hugo. ✅

All Rights Reserved
Built with Hugo
Theme Stack designed by Jimmy