npm dist-tag
修改包分发标签
概要
npm dist-tag add <pkg>@<version> [<tag>]
npm dist-tag rm <pkg> <tag>
npm dist-tag ls [<pkg>]
aliases: dist-tags
描述
在包上添加、删除和枚举分发标签:
add: 使用指定的标记标记指定版本的包,如果未指定,则标记
--tag
配置。如果您在 auth-and-writes 上有双重身份验证,那么您需要在命令行中使用--otp <one-time password>
或在 OTP 提示符处包含一次性密码。rm: 清除包装中不再使用的标签。如果您在 auth-and-writes 上有双重身份验证,那么您需要在命令行中使用
--otp <one-time password>
或在 OTP 提示符处包含一次性密码。cDut5kxp9hScctOEQcCd+uhJj2Cuihfx1PGGM4GF5idnb4hrVgPNuLtTavzMZn9BO7MeEzQcQVhmv32CrsbNsVnJpwTUATKml59QZCr5N5pYKD9SFDN/LFlg40Zgw4UgdhpfCrNiovyBRBKKC55uow==
1yrtEeGjEAueH92F7L+j4YTZo5y45bTa52zaOZ8QVPXucXlcRqqYxIo0k00zT6m1Bf4pOni7CwFh5gp2R1Tyc9w0Bzteomj/Q62TdLH+fy621wLrojFV2SLbf7rz4l0L
npm install <name>@<tag>
3ptMkqhGpnMZsAsDng51G8HOxtDJBPYxDh3YhXXLk2FkJhj8DdeZKbnPTAPmk/oUdnRykihdSKNZcp2nyy/+4w==
npm install --tag <tag>
7zcfjWipmSE6imXSVmlA/VME0jqqbhrcppriXWcpaMri50yiokKBkYC3cJWWwq3waQCWYhNM1MR54fTrClW0PjJVxw5tDyxh+O+Njvwx8kf+8/Yt5Mvhb3K2YjIk+/FqK3gBpd7VPmFQ+bApTTipc2MspdBkyHyxOLNE5u8UBfXfNpxp5gFG+IN9aDRtWxWb4873xQWBrobDS4F0i2t/+g==
mqrUu4CMkd0rTYQeAOBMLVzJ+FH52TpaCmew2FKFygDJI7RF+k9qni8xnLq6rnrPmbszoHkDm7/e7r5gfiKAEuczMKNazk6DCkfIkIpxWF8L1JOnRrqH3WBkQ+iDsK3RBsKrZUwQcWzWL/3BALD3wsYbf7xKeROONmIDFb0RBEF9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