Skip to content

Instantly share code, notes, and snippets.

@BoyCook
Created January 23, 2013 15:17
Show Gist options
  • Save BoyCook/4607995 to your computer and use it in GitHub Desktop.
Save BoyCook/4607995 to your computer and use it in GitHub Desktop.
NPM tips
# Install package to local repo
sudo npm install . -g
# Delete package from local repo
sudo rm -r /usr/local/lib/node_modules/{module}
# Install package from local repo
npm install /usr/local/lib/node_modules/{module}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment