Skip to content

Commit a599632

Browse files
authoredFeb 17, 2022
Fix install command (#1576)
1 parent 7cabfeb commit a599632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎cobra/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Cobra provides its own program that will create your application and add any
44
commands you want. It's the easiest way to incorporate Cobra into your application.
55

6-
Install the cobra generator with the command `go install github.com/spf13/cobra/cobra`.
6+
Install the cobra generator with the command `go install github.com/spf13/cobra/cobra@latest`.
77
Go will automatically install it in your `$GOPATH/bin` directory which should be in your $PATH.
88

99
Once installed you should have the `cobra` command available. Confirm by typing `cobra` at a

0 commit comments

Comments
 (0)