---
title: npm-whoami
section: 1
description: Display npm username
---

### Synopsis

```bash
npm whoami [--registry <registry>]
```

### Description

Print the `username` config to standard output.

### See Also

* [npm config](/commands/npm-config)
* [npmrc](/configuring-npm/npmrc)
* [npm adduser](/commands/npm-adduser)
