node global packages code example Example: npm install package globally #Syntex npm install packagename -g #example npm install express -g