Skip to content

Instantly share code, notes, and snippets.

@WoodyWoodsta
Last active January 8, 2016 13:51
Show Gist options
  • Save WoodyWoodsta/6892f4c974559db33b2d to your computer and use it in GitHub Desktop.
Save WoodyWoodsta/6892f4c974559db33b2d to your computer and use it in GitHub Desktop.

#local-npm setup To install service for local-npm using forever-service:

$ sudo rm /usr/bin/node

$ sudo ln -s "$(which node)" /usr/bin/node

$ sudo forever-service install local-npm-service --script /home/<user>/.nvm/versions/node/<node-version>/lib/node_modules/local-npm/bin.js -o " -d /home/<user>/.local-npm" -p /home/<user>/.nvm/versions/node/<node-version>/bin --start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment