Dep: Cannot install dep ensure on Windows

Created on 15 Mar 2018  路  6Comments  路  Source: golang/dep

i can't install dep on windows
go version: go version go1.10 windows/amd64
windows version: win10 1709
download dep from https://github.com/golang/dep/releases/download/v0.4.1/dep-windows-amd64.exe
double click. no react

Most helpful comment

@silloy That's because it's not an installer but the actual dep application. Just rename the file to dep.exe and move it to your Go bin directory (typically C:\Go\bin.)

All 6 comments

@silloy That's because it's not an installer but the actual dep application. Just rename the file to dep.exe and move it to your Go bin directory (typically C:\Go\bin.)

@tomc974 thanks

@tomc974 i did that but in command prompt, its telling me that dep isnt recognized as a internal or external command but i need dep for a project

@damilolakasumu You have to add the directory in which you copied dep to your PATH environment variable. Instruction to do so can be found online.

If you're using chocolatey there is a dep package: https://chocolatey.org/packages/dep

choco install dep should do the trick.

@silloy That's because it's not an installer but the actual dep application. Just rename the file to dep.exe and move it to your Go bin directory (typically C:\Gobin.)

@silloy That's because it's not an installer but the actual dep application. Just rename the file to dep.exe and move it to your Go bin directory (typically C:\Gobin.)

thx

Was this page helpful?
0 / 5 - 0 ratings