1NPM-ORG(1)                                                          NPM-ORG(1)
2
3
4

NAME

6       npm-org - Manage orgs
7
8   Synopsis
9         npm org set <orgname> <username> [developer | admin | owner]
10         npm org rm <orgname> <username>
11         npm org ls <orgname> [<username>]
12
13       Note: This command is unaware of workspaces.
14
15   Example
16       Add a new developer to an org:
17
18         $ npm org set my-org @mx-smith
19
20       Add a new admin to an org (or change a developer to an admin):
21
22         $ npm org set my-org @mx-santos admin
23
24       Remove a user from an org:
25
26         $ npm org rm my-org mx-santos
27
28       List all users in an org:
29
30         $ npm org ls my-org
31
32       List all users in JSON format:
33
34         $ npm org ls my-org --json
35
36       See what role a user has in an org:
37
38         $ npm org ls my-org @mx-santos
39
40   Description
41       You can use the npm org commands to manage and view users of an organi‐
42       zation.  It supports adding and removing users, changing  their  roles,
43       listing them, and finding specific ones and their roles.
44
45   Configuration
46       <!--  AUTOGENERATED  CONFIG  DESCRIPTIONS  START --> <!-- automatically
47       generated, do not edit manually --> <!--  see  lib/utils/config/defini‐
48       tions.js -->
49
50   registry
51       • Default: "https://registry.npmjs.org/"
52
53       • Type: URL
54
55
56       The base URL of the npm registry.  <!-- automatically generated, do not
57       edit manually --> <!-- see lib/utils/config/definitions.js -->
58
59
60   otp
61       • Default: null
62
63       • Type: null or String
64
65
66       This is a one-time  password  from  a  two-factor  authenticator.  It's
67       needed when publishing or changing package permissions with npm access.
68
69       If  not  set,  and  a  registry  response  fails with a challenge for a
70       one-time password, npm will prompt on the command line for  one.   <!--
71       automatically   generated,   do   not   edit   manually  -->  <!--  see
72       lib/utils/config/definitions.js -->
73
74
75   json
76       • Default: false
77
78       • Type: Boolean
79
80
81       Whether or not to output JSON data, rather than the normal output.
82
83       • In npm pkg set it enables parsing set values with JSON.parse() before
84         saving them to your package.json.
85
86
87       Not  supported  by  all npm commands.  <!-- automatically generated, do
88       not edit manually --> <!-- see lib/utils/config/definitions.js -->
89
90
91   parseable
92       • Default: false
93
94       • Type: Boolean
95
96
97       Output parseable results from commands that write to  standard  output.
98       For npm search, this will be tab-separated table format.  <!-- automat‐
99       ically generated, do not edit  manually  -->  <!--  see  lib/utils/con‐
100       fig/definitions.js -->
101
102       <!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
103
104
105   See Also
106       • npm help using orgs
107
108       • Documentation on npm Orgs https://docs.npmjs.com/orgs/
109
110
111
112
113                                 October 2021                       NPM-ORG(1)
Impressum