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

NAME

6       npm-team - Manage organization teams and team memberships
7
8   Synopsis
9         npm team create <scope:team>
10         npm team destroy <scope:team>
11
12         npm team add <scope:team> <user>
13         npm team rm <scope:team> <user>
14
15         npm team ls <scope>|<scope:team>
16
17         npm team edit <scope:team>
18
19   Description
20       Used  to  manage  teams  in organizations, and change team memberships.
21       Does not handle permissions for packages.
22
23       Teams must always be fully qualified with the  organization/scope  they
24       belong to when operating on them, separated by a colon (:). That is, if
25       you have a wombats team in a wisdom organization, you must always refer
26       to that team as wisdom:wombats in these commands.
27
28       If  you have two-factor authentication enabled in auth-and-writes mode,
29       then you can provide a code from your authenticator with  [--otp  <otp‐
30       code>]. If you don't include this then you will be prompted.
31
32       · create  /  destroy:  Create  a  new team, or destroy an existing one.
33         Note:    You    cannot    remove    the    developers    team,     <a
34         href="https://docs.npmjs.com/about-developers-team"              tar‐
35         get="_blank">learn more.</a>
36
37       · add / rm: Add a user to an existing team, or remove  a  user  from  a
38         team they belong to.
39
40       · ls:  If  performed  on  an  organization  name, will return a list of
41         existing teams under that organization. If performed on  a  team,  it
42         will  instead return a list of all users belonging to that particular
43         team.
44
45       · edit: Edit a current team.
46
47
48   Details
49       npm team always operates directly on the current registry, configurable
50       from the command line using --registry=<registry url>.
51
52       In order to create teams and manage team membership, you must be a team
53       admin under the given organization. Listing teams and team  memberships
54       may be done by any member of the organizations.
55
56       Organization  creation  and  management of team admins and organization
57       members is done through the website, not the npm CLI.
58
59       To use teams to manage permissions on packages belonging to your  orga‐
60       nization, use the npm access command to grant or revoke the appropriate
61       permissions.
62
63   See Also
64       · npm help access
65
66       · npm help registry
67
68
69
70
71                                  March 2020                       NPM-TEAM(1)
Impressum