13 lines
224 B
Markdown
Raw Normal View History

# npm prefix
> Print the local or global prefix to `stdout`.
> More information: <https://docs.npmjs.com/cli/npm-prefix>.
- Print the local prefix:
`npm prefix`
- Print the global prefix:
`npm prefix {{[-g|--global]}}`