Closed cspotcode closed 6 years ago
In testing, modules globally install into $NPM_CONFIG_PREFIX/lib/node_modules/ but their binaries go into $NPM_CONFIG_PREFIX/bin/.
$NPM_CONFIG_PREFIX/lib/node_modules/
$NPM_CONFIG_PREFIX/bin/
Is there some way to ask npm where it puts binaries? Or query it for which mode we're running in: global or local?
Fixed in 0.0.7.
In testing, modules globally install into
$NPM_CONFIG_PREFIX/lib/node_modules/
but their binaries go into$NPM_CONFIG_PREFIX/bin/
.Is there some way to ask npm where it puts binaries? Or query it for which mode we're running in: global or local?