insider
insider copied to clipboard
Install from Source Instructions Need Update
Describe the bug The installation instructions say to do this (Using Go v13+): go get github.com/insidersec/insider/cmd/insider
To Reproduce When I do, this is what happens:
MYDIR % go version go version go1.17.1 darwin/amd64 MYDIR % go get github.com/insidersec/insider/cmd/insider go: downloading github.com/insidersec/insider v0.0.0-20210126135832-20af38a83d17 go get: installing executables with 'go get' in module mode is deprecated. Use 'go install pkg@version' instead. For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.
When I instead tried: go install github.com/insidersec/insider/cmd/insider --> The following happened:
go install: version is required when current directory is not in a module Try 'go install github.com/insidersec/insider/cmd/insider@latest' to install the latest version
Maybe there needs to be multiple sets of instructions? Like Go 13-16, do the above, 17+ do something else. Not exactly sure.
Desktop (please complete the following information):
- OS: MacOS
- Version 11.5.2
- go version go1.17.1 (For darwin/amd64)
Clone the repo
Change dir to %MYPATH/Insider/Cmd/Insider
Run go build
Run the built executable for your platform
👍