1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-08 23:45:23 +02:00
tldr/pages/common/npm-whoami.md
2025-05-30 06:02:26 +02:00

12 lines
270 B
Markdown

# npm whoami
> Display npm username.
> More information: <https://docs.npmjs.com/cli/whoami>.
- Display username of the currently logged-in user:
`npm whoami`
- Display username of the current user in the specific registry:
`npm whoami --registry {{registry_url}}`