Documentación offline pnpm main

pnpm whoami

main Documentación oficial Licencia MITDescargado el 2026-08-02

En esta página

Added in: v11.0.0

Print the username associated with the current registry credentials.

pnpm whoami [--registry <url>]

If you are not logged in, the command exits with an error. Use pnpm login to authenticate first.

Options#

--registry <url>#

The registry to check. Defaults to the configured default registry.