Files
pnpm/pnpm11/docs/cli/whoami.md
Zoltan Kochan 07839df5c3 docs: move product documentation beside its implementation (#16385)
* docs: move website documentation into the pnpm repository

* docs: keep v11 and v12 documentation beside their implementations

* docs(pnpr): keep registry documentation beside its implementation

* ci: classify product documentation as documentation changes

* test: cover product documentation in Rust CI exclusions

* ci: isolate documentation publishing and support manual sync

* test: make dependency status fixture timestamps deterministic
2026-09-29 15:56:43 +02:00

390 B

id, title
id title
whoami 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.

Options

--registry <url>

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