From a5996323794c96a0d14df49f6675708a87e53b98 Mon Sep 17 00:00:00 2001 From: Shyim <6224096+shyim@users.noreply.github.com> Date: Thu, 17 Feb 2022 18:17:44 +0100 Subject: [PATCH] Fix install command (#1576) --- cobra/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobra/README.md b/cobra/README.md index f1a60565b..0c5328dc4 100644 --- a/cobra/README.md +++ b/cobra/README.md @@ -3,7 +3,7 @@ Cobra provides its own program that will create your application and add any commands you want. It's the easiest way to incorporate Cobra into your application. -Install the cobra generator with the command `go install github.com/spf13/cobra/cobra`. +Install the cobra generator with the command `go install github.com/spf13/cobra/cobra@latest`. Go will automatically install it in your `$GOPATH/bin` directory which should be in your $PATH. Once installed you should have the `cobra` command available. Confirm by typing `cobra` at a