From ffcba01c5a4e7f5f35a15a30ba283409e8cd0138 Mon Sep 17 00:00:00 2001 From: machine424 Date: Fri, 4 Jul 2025 12:57:08 +0200 Subject: [PATCH] chore: do not hardcode required versions in README.md add links to the sources of truth. It's hard to keep up to date, the "go" one is "wrong" (not really as an old 1.22 binray could still download/use newer toolchains...) for example. Signed-off-by: machine424 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 26262734c0..1743c5a4b8 100644 --- a/README.md +++ b/README.md @@ -67,9 +67,9 @@ Prometheus will now be reachable at . To build Prometheus from source code, You need: -* Go [version 1.22 or greater](https://golang.org/doc/install). -* NodeJS [version 22 or greater](https://nodejs.org/). -* npm [version 8 or greater](https://www.npmjs.com/). +* Go: Version specified in [go.mod](./go.mod) or greater. +* NodeJS: Version specified in [.nvmrc](./web/ui/.nvmrc) or greater. +* npm: Version 8 or greater (check with `npm --version` and [here](https://www.npmjs.com/)). Start by cloning the repository: