sindresorhus / guides

A collection of succinct guides - Public Domain
2.48k stars 458 forks source link

Howto install globally npm packages without sudo, on Linux #4

Closed sleeper closed 11 years ago

sleeper commented 11 years ago

Just a quick description on how to properly install (e.g. without changing access rights) globally npm packages on Linux.

Inspired from a SO answer.

sindresorhus commented 11 years ago

Thanks man! I don't use Linux so can't comment on the technical aspects, but looks good otherwise.

@passy @btford would you be able to review?

sleeper commented 11 years ago

I just used it on a newly created VM (thanks to vagrant ;))

passy commented 11 years ago

Thank you, @sleeper! This is fantastic. We really needed something like this.

sleeper commented 11 years ago

@passy That's not so fantastic: I based this on the SO answer .. and I needed it as well, but it'll be easier to find now ;)

sindresorhus commented 11 years ago

Superb. Thanks :)