Miao-Yunzai v3安装教程(Linux版本)

发布于 2024-04-05  51 次阅读


方法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

  • (小tips:其中,账号登录阶段会进行提示操作登录,会要求输入签名api,如果是服务器,则推荐自建78签名,否则前往qsign.icu使用公共api)
嘿嘿
最后更新于 2024-04-05