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

Your install instructions no longer work #171

Open
rustbuckett opened this issue Dec 24, 2024 · 3 comments
Open

Your install instructions no longer work #171

rustbuckett opened this issue Dec 24, 2024 · 3 comments

Comments

@rustbuckett
Copy link

Also tried go install storj.io/uplink@latest, and that didn't work either.

@ifraixedes
Copy link
Member

Hi @rustbuckett,

Could you please post what Go version you're using and the error you get?

@rustbuckett
Copy link
Author

rustbuckett commented Dec 27, 2024

go version go1.23.1 linux/amd64

go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

It could be that the instructions just need to be more explicit. I know very little about Go and it's package/module management. Since simply typing the command you provide under Installation didn't work, I'm at a loss.

@ifraixedes
Copy link
Member

I'm assuming you want to install the Uplink command-line interface.

The command-line interface is under our main repository storj.io/storj.

You must execute go install storj.io/storj/cmd/[email protected] for the latest version that we have published. If you want the last commit (not released under any version number so far), replace the v1.116.7 with latest.

The uplink binary will be placed under the path indicated by the GOBIN environment variable or default to others. See https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/go/gobin.html

Let us know if this works.

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