go-mod-outdated icon indicating copy to clipboard operation
go-mod-outdated copied to clipboard

zsh: command not found: go-mod-outdated

Open shareef-dweikat opened this issue 2 years ago • 2 comments

When i do go get -u github.com/psampaz/go-mod-outdated and then go list -u -m -json all | go-mod-outdated I get zsh: command not found: go-mod-outdated

shareef-dweikat avatar Aug 05 '22 09:08 shareef-dweikat

@shareef-dweikat this is not related to with go-mod-outdated but to you local configuration related to PATH environment variable.

I think the binary should be located in GOPATH folder. You can find it using go env

try this

go list -u -m -json all | {absolute path}/go-mod-outdated

or try to fix you config

psampaz avatar Feb 09 '23 09:02 psampaz

Thanks, it worked. go list -u -m -json all | /Users/MyUsername/go/bin/go-mod-outdated

shareef-dweikat avatar May 06 '23 10:05 shareef-dweikat