NPM-ORG(1)

πŸ‘‘ NPM-ORG β€” manage orgs, bestie

Okay so real talk: npm-org is literally the manual page for handling the humans inside your npm org. Adding them, yeeting them, promoting them, listing them β€” the whole social calendar. Manual name's right there in the title: npm-org(1). Say it with me. πŸ’…


✨ Synopsis ✨

Here's the whole vibe, in command form β€” copy it exactly, no cap:

npm org set orgname username [developer | admin | owner]
npm org rm orgname username
npm org ls orgname [<username>]

alias: ogr
Heads up bestie: this command is unaware of workspaces. Like, it simply doesn't know they exist. 🫢

πŸŽ€ Example πŸŽ€

Some little scenarios so you can see it in the wild:

Add a new developer to an org:

$ npm org set my-org @mx-smith

Add a new admin to an org (or glow-up a developer into an admin β€” same command, slay):

$ npm org set my-org @mx-santos admin

Remove a user from an org (respectfully, they're gone):

$ npm org rm my-org mx-santos

List all users in an org:

$ npm org ls my-org

List all users in JSON format:

$ npm org ls my-org --json

See what role a user has in an org (the little vibe check):

$ npm org ls my-org @mx-santos

🌸 Description 🌸

The npm org commands are your whole toolkit for managing and viewing users of an organization. It supports adding and removing users, changing their roles, listing them, and finding specific ones and their roles. Basically it's the group chat admin panel and you have the crown. πŸ‘‘


πŸ’– Configuration πŸ’–

registry

The base URL of the npm registry. That's the address of the whole party.

otp

  • Default: null
  • Type: null or String

This is a one-time password from a two-factor authenticator. You need it when publishing or changing package permissions with npm access.

If it's not set, and a registry response fails with a challenge for a one-time password, npm will prompt you on the command line for one. So don't panic β€” it'll just ask. πŸ”

json

  • Default: false
  • Type: Boolean

Whether or not to output JSON data, rather than the normal output.

  • In npm pkg set it enables parsing set values with JSON.parse() before saving them to your package.json.

Not supported by all npm commands. (Sadly. Not every command got the JSON memo. 😭)

parseable

  • Default: false
  • Type: Boolean

Output parseable results from commands that write to standard output. For npm search, this will be tab-separated table format. Very spreadsheet-core of it.


πŸ¦‹ See Also πŸ¦‹


Okay that's the whole page, you ate that. Go forth and manage your org, icon. πŸ§šβ€β™€οΈ

Signed, sealed, delivered: NPM@12.2.1, dated October 2026 β€” the version and the date, right at the bottom, exactly where the footer lives. Periodt. πŸ’œ

πŸ“¦ where this page comes from