# npm prefix > Print the local or global prefix to `stdout`. > More information: . - Print the local prefix: `npm prefix` - Print the global prefix: `npm prefix {{[-g|--global]}}`