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

go install: version is required when current directory is not in a module #194

Closed
talentlessguy opened this issue Jul 27, 2021 · 2 comments

Comments

@talentlessguy
Copy link

I am trying to install gotop on my new VPS with go 1.16.6 and this is the error I get:

root@v1rtl:~# go install github.com/xxxserxxx/gotop/v4/cmd/gotop
go install: version is required when current directory is not in a module
@xxxserxxx
Copy link
Owner

xxxserxxx commented Jul 27, 2021

Yeah, that needs a @latest at the end; the README.md needs a fix. The instructions should read:

go install github.com/xxxserxxx/gotop/v4/cmd/gotop@latest

@xxxserxxx
Copy link
Owner

Fixed by 257706b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants