_content/blog/vuln: provide installation details for govulncheck Fixes golang/go#57412 Change-Id: Id679631712b177c82f2ff2c15d141204e5ce47c5 Reviewed-on: https://go-review.googlesource.com/c/website/+/459255 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
diff --git a/_content/blog/vuln.md b/_content/blog/vuln.md index f91bd2f..ec3ff49 100644 --- a/_content/blog/vuln.md +++ b/_content/blog/vuln.md
@@ -53,9 +53,15 @@ Govulncheck analyzes your codebase and only surfaces vulnerabilities that actually affect you, based on which functions in your code are transitively calling vulnerable functions. -To start using govulncheck, you can run the following from your project: + +You can install the latest version of govulncheck using +[go install](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies): ``` $ go install golang.org/x/vuln/cmd/govulncheck@latest +``` + +Then, run govulncheck inside your project directory: +``` $ govulncheck ./... ```