4 ms·
I think on github https://github.com/isaacs/npm/issues https://github.com/isaacs/npm/issues is the right place to ask this, or tho add a feature request. "-g"
by progx 13y ago
I think on github
https://github.com/isaacs/npm/issues https://github.com/isaacs/npm/issues
is the right place to ask this, or tho add a feature request.
"-g" ist for global installations and you want a "-l" for user local installation.
- IsaacSchlueter 13y ago-l does not mean "local". -l means "--long" and has no relevance to the install command. Local is the default state. If you want to force non-globalness, you can do `--no-global`
- bacongobbler 13y agoIf you want to install npm for user-specific installations (such as when you don't want to require root access when installing an npm module, or that the computer is shared), you can download the NodeJS tarball, and run ./configure --prefix=/home/user/local Which should install into your ~/local directory after running 'make && make install'.