---
# System prepended metadata

title: Personal Website 1 - How to install Hugo on Windows11
tags: [github.io]

---

###### tags: `github.io`
![](https://hackmd.io/_uploads/Sk7-ki3kT.jpg)

# Personal Website 1 - How to install Hugo on Windows11 in Detail

### Step 1. install latest HUGO on [gohugoio](https://github.com/gohugoio/hugo/releases) 
1. click Show all 23 assets to find version for windows
![](https://hackmd.io/_uploads/rJgc1shkT.png)
2. Choose ==hugo_0.118.2_windows-amd64.zip== and download!
   :bulb: no matter what version, choose the file ended with ==amd64.zip==
![](https://hackmd.io/_uploads/HJYQlonk6.png)


### Step 2. Extract the package 
1. the target path to file is up to you
![](https://hackmd.io/_uploads/SJaTZj3ya.png)

### Step 3. Add the path of HUGO to Environment variable
1. Click ***Windows*** on tool bar under your screen
![](https://hackmd.io/_uploads/H1KCMi2k6.png)
2. Click ***Setting*** icon
![](https://hackmd.io/_uploads/Sk7WXj3yT.png)
3. Click ***System*** on right side of setting panel and Choose ***System Information***
![](https://hackmd.io/_uploads/ByYs7ih1T.png)
4. Click ***Advanced system settings*** (Under *Related Settings* and followed by *Windows Specification*)
![](https://hackmd.io/_uploads/rJa-Ein16.png)
5. Click ***Environment Variables***
![](https://hackmd.io/_uploads/HyHfBjnJ6.png)
6. Choose ***Path*** and click ***Edit***
![](https://hackmd.io/_uploads/ryiZLoh1a.png)
7. Click ***New*** and paste the path you extract hugo package and then ***OK***
![](https://hackmd.io/_uploads/SJcsvo316.png)
8. Click ***OK***
![](https://hackmd.io/_uploads/SJBrdink6.png)

:bulb:What's difference between User variables and System variables? When you open `cmd`(shows directory under the user) and type `hugo` and if it works, then it's because you're successful to add hugo to user vairable in environment variable. (same concept as system variable)
![](https://hackmd.io/_uploads/S1358inkp.png)


:bulb:You can follow the directory management here. Or you can just make it your way. Most important thing is that please make sure add the path of the extract directory to the environment variable

### Step 4. Check if you install HUGO successfully
1. open command line: `Win`+ `R` and type `cmd` 
![](https://hackmd.io/_uploads/rkQnOoh1a.png)
2. check the hugo version: type `hugo version`
![](https://hackmd.io/_uploads/B1yzKo2kp.png)
3. :heavy_check_mark: Congratulation! 
