How To Install HUGO on Windows

avatar
(Edited)

hugo.png

There are various ways to install HUGO on Windows, I tried to follow the method provided on the official hugo page, and one of them is by using Scoop (A command-line installer for Windows).

Scoop will install the tools you want easily, in this case I want to install Hugo, so just type the command;

scoop install hugo

but, I have to install Scoop first on Windows, this how I did it, you can simply type these command within your PowerShell;

Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

# or shorter

iwr -useb get.scoop.sh | iex

I encountered an error like this;
1.PNG

the solution is to run the command below on PowerShell;

Set-ExecutionPolicy RemoteSigned -scope CurrentUser

If it is running correctly it will look like the image below;

2.PNG

Next step is installing HUGO using Scoop, because our main goal is installing HUGO on Windows simply by using commands;

scoop install hugo

3.PNG

Now we installed HUGO on Windows successfully, next time, we will discuss how to host it on GitHub pages. See you next time.



0
0
0.000