diff --git a/pages/common/npm-org.md b/pages/common/npm-org.md new file mode 100644 index 00000000000000..920773d9346b9c --- /dev/null +++ b/pages/common/npm-org.md @@ -0,0 +1,28 @@ +# npm-org + +> Manage organizations. +> More information: . + +- Add a new user to an organization: + +`npm org set {{organization_name}} {{username}}` + +- Change a user's role in an organization: + +`npm org set {{organization_name}} {{username}} {{developer|admin|owner}}` + +- Remove a user from an organization: + +`npm org rm {{organization_name}} {{username}}` + +- List all users in an organization: + +`npm org ls {{organization_name}}` + +- List all users in an organization, output in JSON format: + +`npm org ls {{organization_name}} --json` + +- Display a user's role in an organization: + +`npm org ls {{organization_name}} {{username}}`