npm org set <orgname> <username> [role]

Add a user to an org or manage roles

Arguments

NameDescription
orgnameOrganization name
usernameUser name
role

Options

NameDescription
--registry <registry>The base URL of the npm registry
--otp <otp>One-time password from a two-factor authenticator