Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
nodejs-14
/
usr
/
lib
/
node_modules
/
npm
/
docs
/
content
/
cli-commands
/
//opt/nodejs-14/usr/lib/node_modules/npm/docs/content/cli-commands/npm-whoami.md
--- section: cli-commands title: npm-whoami description: Display npm username --- # npm-whoami(1) ## 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)