# Go install path for Windows

**URL:** <https://discourse.gohugo.io/t/go-install-path-for-windows/27834>\
**Category:** support\
**Created:** [August 26, 2020, 1:02am UTC](https://discourse.gohugo.io/t/go-install-path-for-windows/27834 "2020-08-26T01:02:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChilledChild](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@ChilledChild](https://discourse.gohugo.io/u/ChilledChild)\
**Post date:** [August 26, 2020, 1:02am UTC](https://discourse.gohugo.io/t/go-install-path-for-windows/27834/1 "2020-08-26T01:02:56Z")

</div>

Following the instructions here: [https://golang.org/doc/install?download=go1.15.windows-amd64.msi](https://golang.org/doc/install?download=go1.15.windows-amd64.msi)  
and here: [https://gohugo.io/getting-started/installing/#prerequisite-tools](https://gohugo.io/getting-started/installing/#prerequisite-tools)

For Go windows install instructions, _The installer should put the c:\Go\bin directory in your PATH environment variable_  
Is the location C:\Hugo/bin  
OR  
C:\Users\ChilledChild\src

I’ve done _set PATH=%PATH%;C:Hugo\bin_ per the README, not sure if this is what it references

---

<div class="post-metadata">

**Author:** ![Deeblock](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/deeblock/32/12221_2.png) [@Deeblock](https://discourse.gohugo.io/u/Deeblock)\
**Post date:** [August 26, 2020, 3:26am UTC](https://discourse.gohugo.io/t/go-install-path-for-windows/27834/2 "2020-08-26T03:26:11Z")

</div>

It depends on where you installed Go at. If you installed it in C:/Hugo/, then you’ll put C:/Hugo/bin as a variable in PATH. It’s highly recommended to install Go at C:/Go however since a lot of defaults assume it to be there. So install Go there, and then put C:/Go/bin in your PATH variable.

Basically, the PATH variable should point to the bin where you installed Go to.

Your Hugo site can then be in any folder in your computer you want it to be.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [September 1, 2020, 3:11am UTC](https://discourse.gohugo.io/t/go-install-path-for-windows/27834/3 "2020-09-01T03:11:47Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
