mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 10:01:49 +00:00

PR-URL: https://github.com/nodejs/node/pull/30271 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
25 lines
381 B
Markdown
Executable File
25 lines
381 B
Markdown
Executable File
---
|
|
section: cli-commands
|
|
title: npm-whoami
|
|
description: Display npm username
|
|
---
|
|
|
|
# npm-whoami
|
|
## Display npm username
|
|
|
|
### Synopsis
|
|
|
|
```bash
|
|
npm whoami [--registry <registry>]
|
|
```
|
|
|
|
### Description
|
|
|
|
Print the `username` config to standard output.
|
|
|
|
### See Also
|
|
|
|
* [npm config](/cli-commands/npm-config)
|
|
* [npmrc](/configuring-npm/npmrc)
|
|
* [npm adduser](/cli-commands/npm-adduser)
|