From ea55b457f61da515b5bc8c8126d007d9fb2e5836 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Thu, 10 Oct 2024 14:09:33 +0200 Subject: [PATCH] Fix command to install vultr-cli using Go Command: go get -u github.com/vultr/vultr-cli/v3 doesn't seem to work any longer, it returns: 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'. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16a424b..525712d 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ If you are to visit the `vultr-cli` [releases](https://github.com/vultr/vultr-cl You will need Go installed on your machine in order to work with the source (and make if you decide to pull the repo down). -`go get -u github.com/vultr/vultr-cli/v3` +`go install github.com/vultr/vultr-cli/v3@latest` Another way to build from source is to