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