diff --git a/README.md b/README.md index 1e48af138..c92ac85ef 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,10 @@ installed in order to build the frontend assets. You can directly use the `go` tool to download and install the `prometheus` and `promtool` binaries into your `GOPATH`: - $ GO111MODULE=on go get github.com/prometheus/prometheus/cmd/... + $ GO111MODULE=on go install github.com/prometheus/prometheus/cmd/... $ prometheus --config.file=your_config.yml -*However*, when using `go get` to build Prometheus, Prometheus will expect to be able to +*However*, when using `go install` to build Prometheus, Prometheus will expect to be able to read its web assets from local filesystem directories under `web/ui/static` and `web/ui/templates`. In order for these assets to be found, you will have to run Prometheus from the root of the cloned repository. Note also that these directories do not include the diff --git a/documentation/prometheus-mixin/README.md b/documentation/prometheus-mixin/README.md index a28d91068..ef9c8f7c1 100644 --- a/documentation/prometheus-mixin/README.md +++ b/documentation/prometheus-mixin/README.md @@ -9,9 +9,9 @@ and dashboards for Prometheus. To use them, you need to have `jsonnet` (v0.13+) 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 ``` _Note: The make targets `lint` and `fmt` need the `jsonnetfmt` binary, which is diff --git a/scripts/genproto.sh b/scripts/genproto.sh index 1c152d020..a7bd8be62 100755 --- a/scripts/genproto.sh +++ b/scripts/genproto.sh @@ -15,7 +15,7 @@ if ! [[ $(protoc --version) =~ "3.15.8" ]]; then exit 255 fi -# Since we run go get, go mod download, the go.sum will change. +# Since we run go install, go mod download, the go.sum will change. # Make a backup. cp go.sum go.sum.bak