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
- Default:
"https://registry.npmjs.org/" - Type: URL
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 setit enables parsing set values withJSON.parse()before saving them to yourpackage.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 π¦
npm help "using orgs"- Documentation on npm Orgs β¨https://docs.npmjs.com/orgs/β©
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
- arch rolling: npm 12.2.1-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms