mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 11:45:37 +00:00
18 lines
363 B
Plaintext
18 lines
363 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|