1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages/common/npm-whoami.md
CanonNi e3380fe23b
npm-whoami: add page (#14580)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2024-11-02 15:22:50 +01: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}}`