| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /laragon2/bin/nodejs/node-v12/node_modules/npm/doc/cli/ |
Upload File : |
npm-org(1) -- Manage orgs
===================================
## SYNOPSIS
npm org set <orgname> <username> [developer | admin | owner]
npm org rm <orgname> <username>
npm org ls <orgname> [<username>]
## EXAMPLE
Add a new developer to an org:
```
$ npm org set my-org @mx-smith
```
Add a new admin to an org (or change a developer to an admin):
```
$ npm org set my-org @mx-santos admin
```
Remove a user from an org:
```
$ 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:
```
$ npm org ls my-org @mx-santos
```
## DESCRIPTION
You can use the `npm org` commands to manage and view users of an organization.
It supports adding and removing users, changing their roles, listing them, and
finding specific ones and their roles.
## SEE ALSO
* [Documentation on npm Orgs](https://docs.npmjs.com/orgs/)