diff --git a/Readme.md b/Readme.md index 7e7b88ba1..b5bd892ad 100644 --- a/Readme.md +++ b/Readme.md @@ -23,7 +23,13 @@ By default, pre-built binaries will be downloaded if you're on one of the follow - Linux x86/64 (glibc only) - Windows x86/64 -If you want to build from source, use `npm install --build-from-source` and see the **Compiling** section below. +If you want to build from source, + +For npm, use: `npm install --build-from-source` + +or with yarn, use: `npm_config_build_from_source=true yarn install` + +and see the **Compiling** section below. The minimum version of Node.js required is **18.12.0**. @@ -589,7 +595,9 @@ Notes and caveats: First make sure you've built the latest version. Get all the deps you need (see [compiling](#compiling) above), and run: ``` -npm install --build-from-source +For npm, use: `npm install --build-from-source` + +or with yarn, use: `npm_config_build_from_source=true yarn install` ``` For visual tests: `npm run test-server` and point your browser to http://localhost:4000.