npm-g_nosudo do npm without sudo

npm-g_nosudo

https://github.com/glenpike/npm-g_nosudo

sh: http://download.huangshiyang.com/shell/npm-g-nosudo.sh

A shell script which will fix the problem where you want to stop using sudo for npm -g on Ubuntu.

Inspired by a day trying to sort various machines out on our system to run code nicely.

and this Stackoverflow answer

Tested on Ubuntu 14.04 with Bash

Usage:

Download the script, run it:

./npm-g-nosudo.sh

It will give you the option to fix your .bashrc .zshrc file(s) automatically to use the settings from Sindre Sorhus’ Guide

If you say “n”, it will print the variables you need to enable you to fix manually.

If you say “y”, you will need to source your corresponding file for your current environment vars to be updated.

License

MIT © Glen Pike

5 Responses so far.

  1. RobertDaf says:
    medicinal uses of tea leaves comprar rubifen what is a health insurance claim form
  2. RobertDaf says:
    good samaritan medical center acheter meridia university of toledo college of medicine
  3. RobertDaf says:
    cost of mental health services xanax kaufen rezeptfrei national medicinal plants board
  4. RobertDaf says:
    kaiser pharmacy mountain view fentermina greater lawrence family health center
  5. Bernardpl says:
    journal about mental health oxycontin uci student health center

LEAVE A COMMENT