"Fossies" - the Fresh Open Source Software Archive

Member "node-v12.18.4-win-x64/node_modules/npm/man/man1/npm-prefix.1" (13 Jul 2020, 648 Bytes) of package /windows/www/node-v12.18.4-win-x64.zip:

Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.




npm-prefix − Display prefix


npm prefix [−g]

Print the local prefix to standard out. This is the closest parent directory to contain a package.json file or node_modules directory, unless −g is also specified.

If −g is specified, this will be the value of the global prefix. See npm help config for more detail.

See Also

npm help root

npm help bin

npm help folders

npm help config

npm help npmrc