MausBot安装命令
12
2026-11-08
# 1. 更新系统、安装基础依赖(Ubuntu/Debian)
sudo apt update && sudo apt upgrade -y
sudo apt install -y curl git ca-certificates
# 2. 安装 nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
# 3. 加载nvm环境
source ~/.bashrc
# 4. 安装 Node 24(硬性要求 >=24)
nvm install 24
# 5. 设置默认node版本
nvm use 24
nvm alias default 24
# 6. 校验版本,确认是v24.x.x
node -v
npm -v
# 7. npm全局安装 openmausbot
npm install -g openmausbot
# 8. 启动(首次启动交互式配置)
openmausbot