npm安装github上的包 npm install git+github仓库地址.git#分支 或者在package.json dependencies 里加入: “仓库名”: “git+github仓库地址.git#分支”,