Building from sources

Building from sources

Building the extended version of Hugo from source requires the following dependencies:

  1. The Go toolchain
  2. The Git version control system
  3. A C/C++ compiler, such as GCC or Clang

Windows users can use the Chocolatey package manager in order to use the MinGW compiler. After installing Chocolatey, run the following command in an elevated terminal prompt:

choco install mingw

Then, clone the repository and run the build script:

and then install the package in the current directory:

pip install .

or perform an editable installation via the following command:

pip install -e .