Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install npm packages on shared hosting

# download and extract npm onto your server
cd ~curl https://nodejs.org/dist/v6.2.2/node-v6.2.2-linux-x64.tar.gz  | tar xzmv node-v6.2.2-linux-x64/ nodejsmkdir ~/bincp nodejs/bin/node ~/bincd ~/binln -s ../nodejs/lib/node_modules/npm/bin/npm-cli.js npm
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #install #npm #packages #shared #hosting
ADD COMMENT
Topic
Name
9+7 =