1

How to install Hugo on Windows 10

 2 years ago
source link: https://dev.to/techielass/how-to-install-hugo-on-windows-10-3f2j
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Cover image for How to install Hugo on Windows 10
Sarah Lean 🏴󠁧󠁒

Posted on Jan 29

β€’ Originally published at techielass.com

How to install Hugo on Windows 10

So Hugo is one of those things that I've dabbled with, struggled with, cursed at, and celebrated. I am once again diving into the realm of trying to make Hugo create a nice looking website for me once again. So I've had to install it on my system.

I wanted to share this quick tutorial of installing Hugo on my Windows 10 machine to start the journey with ya'll. 😊

Download the Hugo latest version

First thing to do is go and download the latest release of Hugo from their official download area - Hugo GitHub Releases. You are looking for the Source Code Zip file format.

With that file now on your machine you need to get Hugo installed...

Install Hugo

Take the zip file that you've just downloaded and extract it, I always extract to C:\Hugo\bin

Environmental Variables

We now need to set an environment variable. If you hit the Windows key on your keyboard and then search for environmental variables, the first results should be how to edit your environmental variables.

Click on Environmental Variables at the bottom of the dialog box that is open. Click on Path in the top half of the next dialog box and edit that.

Now enter the path you extracted Hugo to. In my case this will be C:\Hugo\bin.

Test Install

To test the install open up a PowerShell command shell or a Command Prompt and type in hugo version

You should get back information on the version that has been installed!

You can now go off and use Hugo to build some funky websites! πŸ˜‰


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK