gravityblast/fresh

fresh: command not found on windows

Opened this issue · 6 comments

I am trying to run this on Windows 7. It returns this:
fresh: command not found

I have a config file. I don't know any other step to run it even after reading readme file.
And i did this;
go get -u github.com/pilu/fresh

What should i do to simply run it.

This is probably due to your $GOPATH not being configured properly. Try echo $GOPATH and see if that includes the directory where fresh was installed.

I think go get install packages to the same location. That is not that. I will check to see anyways.

So it is not about paths.

not runed fresh
GoPATH is set
C:\Users\mahdi>echo %GOPATH%
C:\Users\mahdi\go

I did it by giving full file path to the main.go file inside the fresh folder
go run C:/go-Work/src/github.com/pilu/fresh/main.go

I fixed mine by adding the path to the go bin folder where the fresh binary is stored on my PC to the PATH environment variable. My path was C:/Users//go/bin.
Restart powershell after too.