Passa al contenuto principale
Versione: Prossimo

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.

Opzioni

--registry <url>

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