1.4 KiB
Raw Blame History

title, date, tags, image, Description, featured
title date tags image Description featured
Install Hugo in Windows 2023-12-31
hugo
blog
/img/posts/img-1.jpg In this guide, we'll walk through installing Hugo, a popular static site generator. Whether youre new to static site development or transitioning from another tool, well cover the essential steps to get Hugo up and running. true

Hugo comes in three versions: Standard, Extended, and Extended/Deploy. The Standard edition covers core functionalities, while Extended adds advanced options, with Extended/Deploy** offering further deployment features.

Setting Up Your Directories

  1. Open File Explorer and create a folder, e.g., C:\Hugo, and inside it, a bin folder.

Installing Hugo

  1. Download the latest Hugo executable from Hugo releases.

  2. Extract the contents into ..\Hugo\bin.

  3. Open Command Prompt as Administrator and add Hugo to the PATH:

    setx PATH "%PATH%;C:\Hugo\bin"
    

    Alternatively, add C:\Hugo\bin via Environment Variables.

  4. Verify the installation by typing hugo help in the command prompt.

{{< figure src="/img/posts/install-hugo/hugo-help-command.png" alt="Hugo help in Command Prompt" attr="Hugo in Command Prompt" attrlink="" >}}

You can check the offical documentation for more installation details here.