From d3069471e7a0016257c8a7f555483cc48df77439 Mon Sep 17 00:00:00 2001 From: coolaj86 Date: Fri, 3 Nov 2017 21:16:35 +0000 Subject: [PATCH] Options --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5e7ce33..6f33a8f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,9 @@ wget -nv bit.ly/node-installer -O - ./node-installer.sh; bash ./node-installer.s [How to Setup a VPS for node.js Development](https://www.youtube.com/watch?v=ypjzi1axH2A) - [(3:06 installing node.js](https://www.youtube.com/watch?v=ypjzi1axH2A#t=186)) -## Choosing a specific version +## Options + +### Choosing a specific version ```bash echo "Current node.js version is $(curl -fsSL https://nodejs.org/dist/index.tab | head -2 | tail -1 | cut -f 1)" @@ -43,7 +45,7 @@ echo "Current node.js version is $(curl -fsSL https://nodejs.org/dist/index.tab echo "v8.9.0" > /tmp/NODEJS_VER ``` -## Choosing an install location +### Choosing an install location Just set BOTH `NODE_PATH` and `NPM_CONFIG_PREFIX`. The install path will be the preceding `lib/node_modules`