Go install path for Windows

Following the instructions here: https://golang.org/doc/install?download=go1.15.windows-amd64.msi
and here: 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

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.

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