Display the authenticated npm username.
Section: Registry auth and account actions
Show current username
bash
bash
npm whoamiExplanation
Display the authenticated npm username.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Registry auth and account actions
List packages you can access
Show package access rules for the current account.
Bump patch version
Increment patch version and create a git tag by default.