方法1:手动配置安装(来自 https://gitee.com/yoimiya-kokomi/Miao-Yunzai)
1.克隆项目
1.使用Github
git clone --depth=1 https://github.com/yoimiya-kokomi/Miao-Yunzai.git
cd Miao-Yunzai
git clone --depth=1 https://github.com/yoimiya-kokomi/miao-plugin.git ./plugins/miao-plugin/
或使用Gitee
git clone --depth=1 https://gitee.com/yoimiya-kokomi/Miao-Yunzai.git
cd Miao-Yunzai
git clone --depth=1 https://gitee.com/yoimiya-kokomi/miao-plugin.git ./plugins/miao-plugin/
2.安装pnpm ,已安装的可以跳过
# 使用npmjs.org安装
npm install pnpm -g
# 指定国内源npmmirror.com安装
npm --registry=https://registry.npmmirror.com install pnpm -g
3.安装依赖
# 直接安装
pnpm install -P
# 如依赖安装缓慢或失败,可尝试更换国内npm源后再执行install命令
pnpm config set registry https://registry.npmmirror.com
pnpm install -P
4.运行 在root目录输入
cd Miao-Yunzai/
node app
方法2(推荐):白狐脚本安装(来自 https://gitee.com/baihu433/Yunzai-Bot-Shell?_from=gitee_search )
bash <(curl -sL https://gitee.com/baihu433/Yunzai-Bot-Shell/raw/master/install.sh)
- (小tips:其中,账号登录阶段会进行提示操作登录,会要求输入签名api,如果是服务器,则推荐自建78签名,否则前往qsign.icu使用公共api)
- 最后:插件安装中,白狐脚本提供安装操作,如有需要,可以去https://gitee.com/yhArcadia/Yunzai-Bot-plugins-index(yunzai插件合集)中寻找,复制到/root/Miao-Yunzai/plugins目录即可
Comments 1 条评论
博主 锦衣