From 1b6dda46df446450579c288955197d72dc177136 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Fri, 25 Oct 2024 08:25:22 +0530 Subject: [PATCH] Add NVM as an alternative --- web/docs/new.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/docs/new.md b/web/docs/new.md index c850e97141..8485a5dcd1 100644 --- a/web/docs/new.md +++ b/web/docs/new.md @@ -12,6 +12,9 @@ development, here is a recommended workflow: 4. Install **node** on your machine. There are myriad ways to do this, here are some examples: + - OS agnostic: Install [NVM](https://github.com/nvm-sh/nvm), then + `nvm install 20 && corepack enable`. + - macOS: `brew install node@20` - Ubuntu: `sudo apt install nodejs npm && sudo npm i -g corepack` @@ -20,7 +23,6 @@ development, here is a recommended workflow: manager (**Yarn**): ```sh - corepack enable ```