Saltar al contenido principal
Version: Próxima versión

pnpm whoami

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.

Opciones

--registry <url>

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