Skip to content

Commit

Permalink
npm-whoami: add page (tldr-pages#14580)
Browse files Browse the repository at this point in the history
Co-authored-by: Wiktor Perskawiec <[email protected]>
  • Loading branch information
2 people authored and Zamoca42 committed Nov 3, 2024
1 parent fa024a0 commit 9e6424b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pages/common/npm-whoami.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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}}`

0 comments on commit 9e6424b

Please sign in to comment.