×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: usere18a6
Added: Jul 16, 2015 11:35 PM
Views: 1883
Tags: no tags
  1. echo "prefix=~/.local" > ~/.npmrc
  2. echo "export NODE_PATH=\$NODE_PATH:~/.local/lib/node_modules" >>  ~/.bashrc
  3. echo "export PATH=~/.local/bin:\$PATH" >>  ~/.bashrc
  4. echo "export PATH=./node_modules/.bin:\$PATH" >>  ~/.bashrc
  5. source ~/.bashrc