Table of contents

Adding organization members to teams

Table of contents

As an organization owner or team admin, you can add organization members to teams to give them access to a specific set of packages governed by the organization.

Note: An npm user must be a member of your organization before you can add them to a team. To add a member to your organization, see "Adding members to your organization".

  1. On the npm "Sign In" page, enter your account details and click Sign In. Screenshot of npm login dialog
  2. In the upper right corner of the page, click your profile picture, then click Account. Screenshot of account settings selection in user menu
  3. In the left sidebar, click the name of your organization. Screenshot of a selected organization
  4. On the organization settings page, click Teams. Screenshot of the organization teams tab
  5. Beside the team you want to add members to, click Members.

    Screenshot of the team members button
  6. In the "Username" field, type the npm username of the organization member you would like to add to your team.

    Screenshot of the team member selection
  7. Click + Add User.

    Screenshot of the team member add button

Note: organization members are not notified when they are added to a team. We recommend telling the organization member you have added them to a team.

管理团队 from the CLI

If you would like to manage the membership of your team from the command line interface (CLI), you can use:

npm team

For more information, see the CLI documentation on teams.

Edit this page on GitHub
1 contributormona
Last edited by mona on March 21, 2023
声明:npm 及相关 logo 的版权归 npmjs.com 所有。本站点仅用于 npm 中文文档,与 npmjs.com 没有任何关系。由于译者水平有限,且避免产生误解,条款和政策内容不进行翻译,关于这部分,请移步官网查看最新内容。