mihomo-windows-amd64-v3-v1.19.13.zip
将配置文件(如 config.yaml)放入 %USERPROFILE%\.config\mihomo 目录
在命令行运行:.\mihomo.exe -d "%USERPROFILE%\.config\mihomo"
也可以配合 Clash.Meta UI 或其他前端使用这个核心
🧭 方法一:查看终端输出日志
如果在 PowerShell 或 CMD 中运行的,启动后会有一段日志输出,可以观察以下内容:
✅ 是否显示
Start Mihomo Core Successfully✅ 是否加载了你的
config.yaml文件✅ 是否监听了端口(如
127.0.0.1:7890、127.0.0.1:9090)❌ 如果有错误,会显示
config error或failed to bind port
🌐 方法二:访问控制接口(external-controller)
如果你的配置文件中启用了控制接口,yaml例如:external-controller: 127.0.0.1:9090
可以在浏览器中访问:http://127.0.0.1:9090/proxies,如果能返回 JSON 数据,说明 Mihomo 正常运行。
🧪 方法三:测试代理是否生效
设置系统代理为
127.0.0.1:7890(或你配置的端口)打开浏览器访问 或
如果 IP 显示为代理节点的出口 IP,说明代理已生效
🧠 方法四:使用 GUI 前端观察状态
你可以配合以下图形界面工具使用 Mihomo 核心:
Clash.Meta UI
Clash for Windows(替换核心为 Mihomo)
MetaX 或 Mihomo-Party(需手动配置路径)
这些工具可以显示节点状态、连接日志、实时流量等。
🧩 进阶技巧:自动化状态监控
可以用 PowerShell 脚本定时请求控制接口,判断是否运行:
$response = Invoke-RestMethod -Uri "http://127.0.0.1:9090/configs"
if ($response) {
Write-Host "Mihomo is running"
} else {
Write-Host "Mihomo is not responding"
}Releases · hiddify/HiddifyClashDesktop
Clash删库始末及知识普及 - Clash for windows