Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 3838a972c94b8bbe6fb04220e63b7ff2 > files > 271

nodejs-docs-10.22.1-9.mga7.noarch.rpm

---
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)