codekingpro/portable-devtools
114k
1.TH "ORGANIZATIONS" "7" "March 2026" "NPM@11.12.1" ""
2.SH "NAME"
3\fBOrganizations\fR - Working with teams & organizations
4.SS "Description"
5.P
6There are three levels of org users:
7.RS 0
8.IP 1. 4
9Super admin, controls billing & adding people to the org.
10.IP 2. 4
11Team admin, manages team membership & package access.
12.IP 3. 4
13Developer, works on packages they are given access to.
14.RE 0
15
16.P
17The super admin is the only person who can add users to the org because it impacts the monthly bill. The super admin will use the website to manage membership. Every org has a \fBdevelopers\fR team that all users are automatically added to.
18.P
19The team admin is the person who manages team creation, team membership, and package access for teams. The team admin grants package access to teams, not individuals.
20.P
21The developer will be able to access packages based on the teams they are on. Access is either read-write or read-only.
22.P
23There are two main commands:
24.RS 0
25.IP 1. 4
26\fBnpm team\fR see npm help team for more details
27.IP 2. 4
28\fBnpm access\fR see npm help access for more details
29.RE 0
30
31.SS "Team Admins create teams"
32.RS 0
33.IP \(bu 4
34Check who you\[cq]ve added to your org:
35.RE 0
36
37.P
38.RS 2
39.nf
40npm team ls <org>:developers
41.fi
42.RE
43.RS 0
44.IP \(bu 4
45Each org is automatically given a \fBdevelopers\fR team, so you can see the whole list of team members in your org. This team automatically gets read-write access to all packages, but you can change that with the \fBaccess\fR command.
46.IP \(bu 4
47Create a new team:
48.RE 0
49
50.P
51.RS 2
52.nf
53npm team create <org:team>
54.fi
55.RE
56.RS 0
57.IP \(bu 4
58Add members to that team:
59.RE 0
60
61.P
62.RS 2
63.nf
64npm team add <org:team> <user>
65.fi
66.RE
67.SS "Publish a package and adjust package access"
68.RS 0
69.IP \(bu 4
70In package directory, run
71.RE 0
72
73.P
74.RS 2
75.nf
76npm init --scope=<org>
77.fi
78.RE
79.P
80to scope it for your org & publish as usual
81.RS 0
82.IP \(bu 4
83Grant access:
84.RE 0
85
86.P
87.RS 2
88.nf
89npm access grant <read-only|read-write> <org:team> \[lB]<package>\[rB]
90.fi
91.RE
92.RS 0
93.IP \(bu 4
94Revoke access:
95.RE 0
96
97.P
98.RS 2
99.nf
100npm access revoke <org:team> \[lB]<package>\[rB]
101.fi
102.RE
103.SS "Monitor your package access"
104.RS 0
105.IP \(bu 4
106See what org packages a team member can access:
107.RE 0
108
109.P
110.RS 2
111.nf
112npm access list packages <org> <user>
113.fi
114.RE
115.RS 0
116.IP \(bu 4
117See packages available to a specific team:
118.RE 0
119
120.P
121.RS 2
122.nf
123npm access list packages <org:team>
124.fi
125.RE
126.RS 0
127.IP \(bu 4
128Check which teams are collaborating on a package:
129.RE 0
130
131.P
132.RS 2
133.nf
134npm access list collaborators <pkg>
135.fi
136.RE
137.SS "See also"
138.RS 0
139.IP \(bu 4
140npm help team
141.IP \(bu 4
142npm help access
143.IP \(bu 4
144npm help scope
145.RE 0
146 