13 lines
224 B
Markdown
13 lines
224 B
Markdown
|
|
# 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]}}`
|