1、登陆npm npm login 2、发布或更新npm包(需更新版本号) npm publish 3、删除下线npm包 npm unpublish package@version 延伸阅读 ▶ Walkthrough007