1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +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

270 B

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}}