Iqbal Adan avatar

How To Install HUGO on Windows

iqbaladan

Published: 14 Sept 2020 › Updated: 14 Sept 2020How To Install HUGO on Windows

How To Install HUGO on Windows

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.

Leave How To Install HUGO on Windows to:

Written by

Blogging - Coffee Lover - Linux enthusiast - STEM - Interested in crypto

Read more #tutorial posts


Best Posts From Iqbal Adan

We have not curated any of iqbaladan's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Iqbal Adan