Package Details: mihomo 1.19.23-1

Git Clone URL: https://aur.archlinux.org/mihomo.git (read-only, click to copy)
Package Base: mihomo
Description: Mihomo Kernel by MetaCubeX, formerly known as Clash.Meta
Upstream URL: https://github.com/MetaCubeX/mihomo
Licenses: GPL3
Conflicts: clash-meta
Provides: clash-meta
Submitter: handsomexdd1024
Maintainer: Kizumi
Last Packager: Kizumi
Votes: 20
Popularity: 1.81
First Submitted: 2023-12-02 15:01 (UTC)
Last Updated: 2026-04-08 13:50 (UTC)

Pinned Comments

sukanka commented on 2023-02-15 01:05 (UTC)

If you want use tun mode, add the following pacman hook.

➜  ~ cat /etc/pacman.d/hooks/clash-meta.hook
[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = usr/bin/clash-meta

[Action]
When = PostTransaction
Exec = /usr/bin/setcap 'cap_net_admin,cap_net_bind_service=+ep' /usr/bin/clash-meta

Latest Comments

1 2 3 4 Next › Last »

qubeck commented on 2026-02-02 10:30 (UTC)

Could you please remove clash-geoip from dependencies? mihomo also supports v2ray .dat format and as such it can be replaced with v2ray-geoip, which is present in extra and is updated frequently. Furthermore it can be removed completely as noticed by @texsd. Thanks!

texsd commented on 2025-06-04 14:45 (UTC)

mihomo doesn't strongly rely on clash-geoip, it can be configured to download from custom urls. It should be remove from dependencies.

brownpaperbag666 commented on 2025-05-22 22:09 (UTC)

I think there is a problem with metacubex/quic-go required version. I am not a GO developer so I don't understand how metacubex/quic-go required when this package declares its name as quic-go/quic-go.

@yinzsw I had the same issue and solved it when set GOPROXY to emptry string. I don't know why it works.

yinzsw commented on 2025-05-14 01:43 (UTC) (edited on 2025-05-14 01:43 (UTC) by yinzsw)

mihomo build() error occurred go version go1.24.3 linux/amd64

  -> 正在解压缩 mihomo-1.19.8.tar.gz,使用 bsdtar
==> 源代码已就绪。
==> 正在创建软件包:mihomo 1.19.8-1 (2025年05月14日 星期三 09时19分10秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 警告: 使用现存的 $srcdir/ 树
==> 正在删除现存的 $pkgdir/ 目录...
==> 正在开始 build()...
go: downloading github.com/metacubex/quic-go v0.51.1-0.20250511032541-4e34341cf18b
component/sniffer/quic_sniffer.go:20:2: github.com/metacubex/quic-go@v0.51.1-0.20250511032541-4e34341cf18b: invalid version: unknown revision 4e34341cf18b
dns/doh.go:24:2: github.com/metacubex/quic-go@v0.51.1-0.20250511032541-4e34341cf18b: invalid version: unknown revision 4e34341cf18b
dns/doh.go:25:2: github.com/metacubex/quic-go@v0.51.1-0.20250511032541-4e34341cf18b: invalid version: unknown revision 4e34341cf18b
transport/hysteria/congestion/brutal.go:4:2: github.com/metacubex/quic-go@v0.51.1-0.20250511032541-4e34341cf18b: invalid version: unknown revision 4e34341cf18b
==> 错误: 在 build() 中发生一个错误。
    正在放弃...
 -> 生成时出错: mihomo-exit status 4
 -> 无法安装以下软件包, 需要手动介入处理:
mihomo - exit status 4

negimaho commented on 2025-05-13 13:04 (UTC)

mihomo has been packed for archlinux. the download url is

https://github.com/MetaCubeX/mihomo/releases/download/v1.19.8/mihomo-linux-amd64-v1.19.8.pkg.tar.zst

and it's name is mihomo too. https://github.com/MetaCubeX/mihomo/blob/Alpha/.github/release/.fpm_systemd

so the problem is if I installed the package from github release, then archlinux will assume that is aur/mihomo.

Any idea about how to fix it?

LittFlower commented on 2025-05-11 16:50 (UTC)

When I was installing mihomo 1.19.6 with the 5.10 update, the local build failed and the error log is here. Is there any solution? https://pastebin.com/XYGFnWvi

handsomexdd1024 commented on 2024-06-15 00:24 (UTC)

Dependency clash-geoip can be removed, since clash-meta supports upgrading databases. Let the meta kernel manage databases for itself.