# npm whoami > Display npm username. > More information: . - Display username of the currently logged-in user: `npm whoami` - Display username of the current user in the specific registry: `npm whoami --registry={{registry_url}}`