mumu-manager-cli
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMuMuManager CLI
MuMuManager CLI
用途
Purpose
使用命令行查询和管理 MuMu 模拟器 12 的实例与应用配置,适合账号矩阵、批量开关、自动化脚本、运维排障等场景。
Use the command line to query and manage instances and application configurations of MuMu Emulator 12, suitable for scenarios such as account matrix management, batch startup/shutdown, automation scripts, and operation and maintenance troubleshooting.
前置要求
Prerequisites
- 确保模拟器版本 V4.0.0.3179 或以上,否则部分命令不可用。
- 定位 ,常见路径:
MuMuManager.exe;本机路径示例:X:\Program Files\Netease\MuMuPlayer-12.0\shell\MuMuManager.exe。C:\Program Files\Netease\MuMu\nx_main\MuMuManager.exe - 建议使用绝对路径,或将 目录加入
nx_main。PATH
- Ensure the emulator version is V4.0.0.3179 or later, otherwise some commands will not be available.
- Locate , common path:
MuMuManager.exe; local path example:X:\Program Files\Netease\MuMuPlayer-12.0\shell\MuMuManager.exe.C:\Program Files\Netease\MuMu\nx_main\MuMuManager.exe - It is recommended to use an absolute path, or add the directory to
nx_main.PATH
使用流程
Usage Process
- 先用 确认可用实例;
info支持逗号分隔列表或-v。all - 选择需要的任务(创建/克隆/删除/重命名/导入/导出/ADB/应用/控制/设置)。
- 尽量缩小作用范围,谨慎对 执行写操作。
all
- First use to confirm available instances;
infosupports comma-separated lists or-v.all - Select the required task (create/clone/delete/rename/import/export/ADB/app/control/setting).
- Try to narrow the scope of action, and be cautious when performing write operations on .
all
功能速查
Quick Feature Reference
实例管理
Instance Management
- 查看实例状态与字段说明
info - 创建/克隆/删除/重命名实例
create / clone / delete / rename - 备份与恢复
import / export(可选.mumudata)--zip
- View instance status and field descriptions
info - Create/clone/delete/rename instances
create / clone / delete / rename - Backup and restore
import / export(optional.mumudata)--zip
常见坑与规避
Common Pitfalls and Avoidance
- 删除实例前先关闭该实例:。未关闭时可能返回
control -v <index> shutdown。{"errcode": -1, "errmsg": "not handle cmd"}
- Shut down the instance before deleting it: . If not shut down, it may return
control -v <index> shutdown.{"errcode": -1, "errmsg": "not handle cmd"}
启动与窗口控制
Startup and Window Control
- 启动/关闭/重启实例
control launch / shutdown / restart - 显示/隐藏/布局窗口
control show_window / hide_window / layout_window
- Start/shutdown/restart instances
control launch / shutdown / restart - Show/hide/layout windows
control show_window / hide_window / layout_window
应用管理
Application Management
- 使用包名或 apk 路径
control app install / uninstall / launch / close / info - 查看已安装应用与当前前台应用
control app info -i
- Use package name or apk path
control app install / uninstall / launch / close / info - View installed apps and current foreground app
control app info -i
系统工具
System Tools
- 常用功能(截图、刷新、主页、设置、安全等)
control tool func - 降低 CPU
control tool downcpu - 虚拟定位与重力感应
control tool location / gyro - 创建/删除桌面快捷方式
control shortcut create / delete
- Common functions (screenshot, refresh, home, settings, security, etc.)
control tool func - Reduce CPU usage
control tool downcpu - Virtual location and gyroscope simulation
control tool location / gyro - Create/delete desktop shortcuts
control shortcut create / delete
设备配置与仿真
Device Configuration and Simulation
- 读取/修改配置,支持
setting--all / --all_writable / --info / --path - 修改仿真属性(IMEI/IMSI/Android ID/MAC 等)
simulation
- Read/modify configurations, supports
setting--all / --all_writable / --info / --path - Modify simulation attributes (IMEI/IMSI/Android ID/MAC, etc.)
simulation
ADB 命令
ADB Commands
- 常用快捷命令(清理缓存/截图/录屏等)
adb -c - 执行自定义 shell 命令
adb -c "shell ..."
- Common shortcut commands (clear cache/screenshot/screen recording, etc.)
adb -c - Execute custom shell commands
adb -c "shell ..."
其他
Others
- 自动排列窗口
sort - 安装/卸载驱动(可能需要管理员权限)
driver install / uninstall -n lwf - 辅助接口 仅在必要时使用,稳定性依赖版本
api
- Automatically arrange windows
sort - Install/uninstall driver (may require administrator privileges)
driver install / uninstall -n lwf - The auxiliary interface should only be used when necessary, and its stability depends on the version
api
参考
References
- 详见
references/mumu-manager-cli.md - 快速定位关键词:
- 应用管理
control app - 配置项与 JSON 修改
setting - 仿真属性
simulation - ADB 命令
adb - 驱动管理
driver
- See for details
references/mumu-manager-cli.md - Quick keyword lookup:
- Application management
control app - Configuration items and JSON modification
setting - Simulation attributes
simulation - ADB commands
adb - Driver management
driver