Skip to content

Commit

Permalink
Fix install command (#1576)
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored Feb 17, 2022
1 parent 7cabfeb commit a599632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a599632

Please sign in to comment.