# 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]}}`
