install npm install ws globally code example Example: npm install package globally Click to copy#Syntex npm install packagename -g #example npm install express -g