alexanderGugel / ied

:package: Like npm, but faster - an alternative package manager for Node
http://alexandergugel.github.io/ied
MIT License
1.99k stars 53 forks source link

How to install packages to global `/usr/lib/node_modules` #123

Open popravich opened 8 years ago

popravich commented 8 years ago

Hi,

Currently to install some package to global node_modules I have to run something like this:

$ cd /usr/lib/node_modules
$ sudo ied install react

Is there a better way or am I missing something?

my env is: ied v1.1.1 @ ubuntu 16.04

alexanderGugel commented 8 years ago

Currently --global isn't implemented. PR welcome.

milesj commented 8 years ago

Globals are pretty much an anti-pattern. It's nice that IED does not support it.

tailhook commented 8 years ago

Globals are pretty much an anti-pattern. It's nice that IED does not support it.

Unless you're using containers. In that case, local installations are pretty much anti-pattern.

milesj commented 8 years ago

I guess that would be the exception, which is also the minority at this point.