On Wednesday, August 24, 2016 at 6:17:39 PM UTC-7, angelo "angico" costa wrote:
> Hi, all!
> 
> I'm using Qubes 3.1 and I'm new with all this compartimented system idea.
> 
> I use Node.js for my work and study, and several of its modules should to be 
> installed globally. My question is: Should I install those modules in the VM 
> where I'll use them, or should I install them from the template VM?
> 
> TIA and regards,
> 
> Angico.

I use node.js at times.  I'm often told to install something or other via `npm 
install -g ...`, which to me sounds like a bad idea.  I think if you find 
yourself typing `sudo npm ...` you might as well point a loaded gun at your 
operating system.

Instead, I install those packages locally.  I.e. if build instructions call for 
`grunt`, try

    npm install grunt
    ./node_modules/.bin/grunt


That said, thank goodness for qubes!  If I must let `npm` litter my disk with 
rat's nest of dependencies, I can limit the damage to a VM where nothing of 
consequence happens.

-Dave

Snarky opinions expressed are my own and unfortunately not those of most 
people. :)


-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a4ad9eb9-b27c-43a3-a036-4ec597e41a8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to