reggi/dev-engines
@reggi/path-to-regexp
dependabot/npm_and_yarn/main/copy-to-clipboard-4.0.2
dependabot/npm_and_yarn/main/eslint-10.4.0
dependabot/npm_and_yarn/main/npmcli/eslint-config-7.0.0
dependabot/npm_and_yarn/main/proc-log-7.0.0
dependabot/npm_and_yarn/npm_and_yarn-826852524d
dependabot/npm_and_yarn/npm_and_yarn-ab9a7f4bc2
deprecate-totp-2fa
dhei/classic-tokens
gat-bypass-2fa-docs
jpg619/fix-accessibility-content-flow
jpg619/version-bump-tar-2
kartykp/gat-bypass-2fa-docs
kartykp/upgrade-path-to-regex
main
maitxn/version-bump-tar
patch-1
reggi/cache-based-on-version
reggi/dev-engines
reggi/fix-transform-prettier
reggi/overrides
update-search-sensitivity
| 1 | --- |
| 2 | title: npm-whoami |
| 3 | section: 1 |
| 4 | description: Display npm username |
| 5 | github_repo: npm/cli |
| 6 | github_branch: release/v6 |
| 7 | github_path: docs/content/commands/npm-whoami.md |
| 8 | redirect_from: |
| 9 | - /cli-documentation/v6/cli-commands/npm-whoami |
| 10 | - /cli-documentation/v6/cli-commands/whoami |
| 11 | - /cli-documentation/v6/commands/npm-whoami |
| 12 | - /cli-documentation/v6/commands/whoami |
| 13 | - /cli-documentation/v6/npm-whoami |
| 14 | - /cli-documentation/v6/whoami |
| 15 | - /cli/v6/cli-commands/npm-whoami |
| 16 | - /cli/v6/cli-commands/whoami |
| 17 | - /cli/v6/commands/whoami |
| 18 | - /cli/v6/npm-whoami |
| 19 | - /cli/v6/whoami |
| 20 | --- |
| 21 | |
| 22 | ### Synopsis |
| 23 | |
| 24 | ```bash |
| 25 | npm whoami [--registry <registry>] |
| 26 | ``` |
| 27 | |
| 28 | ### Description |
| 29 | |
| 30 | Print the `username` config to standard output. |
| 31 | |
| 32 | ### See Also |
| 33 | |
| 34 | - [npm config](/cli/v6/commands/npm-config) |
| 35 | - [npmrc](/cli/v6/configuring-npm/npmrc) |
| 36 | - [npm adduser](/cli/v6/commands/npm-adduser) |