summaryrefslogtreecommitdiff
path: root/deps/npm/docs/content/cli-commands/npm-whoami.md
blob: 2ef2ff0ee6251b2445af575256e30ca6f788046c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
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)