From 677ecda93cb2adbf4c2ed0187cc9353b48a81d01 Mon Sep 17 00:00:00 2001 From: Shyim <6224096+shyim@users.noreply.github.com> Date: Sun, 9 Jan 2022 16:43:42 +0100 Subject: [PATCH] Fix install command --- 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