mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-26 22:19:44 -08:00
docs: Replace go get
with go install
for command installation
`go get` is deprecated for installation of commands as of go v1.17 Ref: https://go.googlesource.com/go/+/ced0fdbad0655d63d535390b1a7126fd1fef8348 Signed-off-by: Frederic Hemberger <mail@frederic-hemberger.de>
This commit is contained in:
parent
12968948ae
commit
5bee84f30d
|
@ -11,9 +11,9 @@ for Grafana.
|
|||
To use them, you need to have `jsonnet` (v0.16+) and `jb` installed. If you
|
||||
have a working Go development environment, it's easiest to run the following:
|
||||
```bash
|
||||
$ go get github.com/google/go-jsonnet/cmd/jsonnet
|
||||
$ go get github.com/google/go-jsonnet/cmd/jsonnetfmt
|
||||
$ go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
|
||||
$ go install github.com/google/go-jsonnet/cmd/jsonnet@latest
|
||||
$ go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest
|
||||
$ go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
|
||||
```
|
||||
|
||||
Next, install the dependencies by running the following command in this
|
||||
|
|
Loading…
Reference in a new issue