Guide to installing Hugo on your Windows
- Open Windows Explorer in
Local Disk (C:)
- Create a new folder:
C:\Hugo
- Create a subfolders in the Hugo folder:
C:\Hugo\bin
&C:\Hugo\Sites
- Now download the latest Hugo executable form GitHub.
- Extract all contents to your
C:\Hugo\bin
folder.
Or Install in any folder you want.
Add Hugo to your Windows PATH settings:
- Open Windows Search.
- Type View advanced system settings and Press enter.
- Now Dialog-box will appear named System Properties
- Click Environment Variables under Advanced tab.
- In the System variables section > select the row Path > click Edit button.
- Click New and Paste the PATH variable
C:\Hugo\bin
- Click OK and exit.
Verify the Executable
- Open the Terminal, type
hugo help
and press the Enter key. - To check version:
hugo version
Other ways to install
- If you use Chocolatey or Scoop for package management.