1.4 KiB
1.4 KiB
title, date, tags, image, Description, featured
| title | date | tags | image | Description | featured | ||
|---|---|---|---|---|---|---|---|
| Install Hugo in Windows | 2023-12-31 |
|
/img/posts/img-1.jpg | In this guide, we'll walk through installing Hugo, a popular static site generator. Whether you’re new to static site development or transitioning from another tool, we’ll 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
- Open File Explorer and create a folder, e.g.,
C:\Hugo, and inside it, abinfolder.
Installing Hugo
-
Download the latest Hugo executable from Hugo releases.
-
Extract the contents into
..\Hugo\bin. -
Open Command Prompt as Administrator and add Hugo to the PATH:
setx PATH "%PATH%;C:\Hugo\bin"Alternatively, add
C:\Hugo\binvia Environment Variables. -
Verify the installation by typing
hugo helpin 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.