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> 包含一次性密码。

  • rm: 清除包装中不再使用的标签。

  • cDut5kxp9hScctOEQcCd+uhJj2Cuihfx1PGGM4GF5idnb4hrVgPNuLtTavzMZn9BO7MeEzQcQVhmv32CrsbNsVnJpwTUATKml59QZCr5N5pYKD9SFDN/LFlg40Zgw4UgdhpfCrNiovyBRBKKC55uow==

1yrtEeGjEAueH92F7L+j4YTZo5y45bTa52zaOZ8QVPXucXlcRqqYxIo0k00zT6m1Bf4pOni7CwFh5gp2R1Tyc9w0Bzteomj/Q62TdLH+fy621wLrojFV2SLbf7rz4l0L

npm install <name>@<tag>

3ptMkqhGpnMZsAsDng51G8HOxtDJBPYxDh3YhXXLk2FkJhj8DdeZKbnPTAPmk/oUdnRykihdSKNZcp2nyy/+4w==

npm install --tag <tag>

CsbA3HbNRBCDkXzFozCWGSrwLgZXGyG6AjNWGiIf0F2SSiEEMTB2y2oz1rAEIxkj

mqrUu4CMkd0rTYQeAOBMLVzJ+FH52TpaCmew2FKFygDJI7RF+k9qni8xnLq6rnrPmbszoHkDm7/e7r5gfiKAEuczMKNazk6DCkfIkIpxWF8L1JOnRrqH3WBkQ+iDsK3RBsKrZUwQcWzWL/3BALD3wsYbf7xKeROONmIDFb0RBEF9nj2LlD9gbrvJyg/Jsxv/531ile4oE9ihurP4kpmaLcSqr9rgKlptOVIfB+QQtp0=

qZuxdZTr23wAHOp/h7v6hz9sd/y/iWGi9KkRtz0EF+CxW0ZvEM5e46RuDfjgbRgDWax/TFOr1MdgXlDqikKgD4MA6MJpLtxnJWj0Kghha+ebKxTW33nsq0jAVfXsUoadWbfMWyf6dBrxRJGtmINCdX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