Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install from Source Instructions Need Update #59

Open
davewichers opened this issue Sep 21, 2021 · 1 comment
Open

Install from Source Instructions Need Update #59

davewichers opened this issue Sep 21, 2021 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@davewichers
Copy link

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)
@davewichers davewichers added bug Something isn't working help wanted Extra attention is needed labels Sep 21, 2021
@null-hyp0thesis
Copy link

Clone the repo
Change dir to %MYPATH/Insider/Cmd/Insider
Run go build
Run the built executable for your platform
👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants