From adcd896ec32419072b39b29baa22ae13caa0d819 Mon Sep 17 00:00:00 2001 From: xlightwaverx Date: Wed, 9 Aug 2023 23:01:56 +0000 Subject: [PATCH] Added working prereqs for Node using NVM --- installation.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/installation.md b/installation.md index ee45fdeb..62f61a51 100644 --- a/installation.md +++ b/installation.md @@ -1,6 +1,16 @@ -# Prerequisite -1. Node, https://nodejs.org -2. Yarn, https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable +# Prerequisites + +1. Node and Yarn - Aquired using Node Version Manager (https://github.com/nvm-sh/nvm) + +# Quick Install for Prerequisites + +1. Install Node Version Manager +```sh +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash +nvm install node # "node" is an alias for the latest version +nvm install-latest-npm # get the latest supported npm version on the current node version +npm install --global yarn +``` # Installation: