mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
13 lines
270 B
Markdown
13 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}}`
|