npm install package globally
#Syntex npm install packagename -g #example npm install express -g
how to install any package in node.js
#how to install any specific package in nodejs Application # Syntex npm install packagename # example: npm install express npm i express #if you install globally then type npm install express -g
nodejs global
//Two ways to access global > console.log(global) //or > global //Adding new property to global > global.car = 'delorean'
Source: www.codecademy.com
node global install
npm install -g