Skip to content
npm Docs
npmjs.com
Status
Support
About npm
Getting started
Packages and modules
Integrations
Organizations
Policies
Threats and Mitigations
npm CLI
CLI Commands
npm
npm access
npm adduser
npm audit
npm bin
npm bugs
npm build
npm bundle
npm cache
npm ci
npm completion
npm config
npm dedupe
npm deprecate
npm dist-tag
npm docs
npm doctor
npm edit
npm explore
npm fund
npm help
npm help-search
npm hook
npm init
npm install
npm install-ci-test
npm install-test
npm link
npm logout
npm ls
npm org
npm outdated
npm owner
npm pack
npm ping
npm prefix
npm profile
npm prune
npm publish
npm rebuild
npm repo
npm restart
npm root
npm run-script
npm search
npm shrinkwrap
npm star
npm stars
npm start
npm stop
npm team
npm test
npm token
npm uninstall
npm unpublish
npm update
npm version
npm view
npm whoami
Configuring npm
Using npm
npm-whoami
Display npm username
Select CLI Version:
Version 6.14.18 (Legacy Release)
Table of contents
Synopsis
Description
See Also
Table of contents
Synopsis
Description
See Also
Synopsis
npm
whoami
[
--registry
<
registry
>
]
Description
Print the
username
config to standard output.
See Also
npm config
npmrc
npm adduser
Edit this page on GitHub