Kuldeep J
Kuldeep J

Reputation: 552

Is there a way to check current logged in npm user?

Just like npm login, npm logout is there any command to see 'current logged in user'?
I am using vs-code's terminal.

Upvotes: 0

Views: 1717

Answers (1)

ghiscoding
ghiscoding

Reputation: 13214

you can use npm whoami to see who is currently logged in on npm, see npm docs: https://docs.npmjs.com/cli/v8/commands/npm-whoami

Upvotes: 2

Related Questions