1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/npm-team.md

29 lines
620 B
Markdown
Raw Normal View History

# npm team
> Manage teams in an organization on the `npm` registry.
> More information: <https://docs.npmjs.com/cli/commands/npm-team>.
- Add a user to a team in an organization:
`npm team add {{organization:team}} {{username}}`
- Remove a user from a team:
`npm team rm {{organization:team}} {{username}}`
- Create a new team in an organization:
`npm team create {{organization:team}}`
- Delete a team from an organization:
`npm team destroy {{organization:team}}`
- List all teams in an organization:
`npm team ls {{organization}}`
- List all users in a specific team:
`npm team ls {{organization:team}}`