← 返回命令列表

Linux command

npm-org 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

List org members

npm org ls [org-name]

Add member to org

npm org set [org-name] [username] [developer]

Remove member

npm org rm [org-name] [username]

说明

npm org manages npm organization membership. Controls access to scoped packages. The command handles org teams. Requires org admin privileges.

参数

ls _ORG_
List members.
set _ORG_ _USER_ _ROLE_
Add/update member.
rm _ORG_ _USER_
Remove member.
--help
Display help information.

FAQ

What is the npm-org command used for?

npm org manages npm organization membership. Controls access to scoped packages. The command handles org teams. Requires org admin privileges.

How do I run a basic npm-org example?

Run `npm org ls [org-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does ls _ORG_ do in npm-org?

List members.