Automic VaultAutomic Vault

brew

Install mihomo with Homebrew, MacPorts, Nix, scoop, winget

Another rule-based tunnel in Go, formerly known as ClashMeta. Version 1.19.28 via Homebrew; verified 2026-07-08.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mihomo

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mihomo

MacPorts ports tree · net/mihomo/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#mihomo

nixpkgs package indexes · pkgs/by-name/mi/mihomo/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/mihomo

Scoop official bucket manifest trees · bucket/mihomo.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id MetaCubeX.Mihomo -e

Windows Package Manager source index · MetaCubeX.Mihomo · source: cdn.winget.microsoft.com

overview

Package summary

Another rule-based tunnel in Go, formerly known as ClashMeta

Commands and aliases

  • mihomo

history

Project history and usage

mihomo is the MetaCubeX rule-based network tunnel distributed by package managers under the description "formerly known as ClashMeta." MacPorts describes it as a Go program that supports HTTP, SOCKS, VMess, VLESS, Shadowsocks, Trojan, Hysteria, and other protocols, with built-in DNS server functionality including DoH and DoT support.

Project history

Its operational model comes from the Clash-family proxy configuration style. The documentation organizes the system around proxy ports, SOCKS and mixed listeners, TUN and redirect modes, proxy providers, proxy groups, rule providers, route rules, DNS behavior, and an external controller API. The general configuration page shows common runtime controls such as LAN access, authentication for HTTP/SOCKS/mixed proxies, rule/global/direct modes, IPv6, process matching, and a REST-style external controller on a local address.

How it is used

Package-manager adoption reflects its role as a proxy core rather than a desktop client: Homebrew, MacPorts, Nix, Scoop, and winget package the executable, while separate dashboards and clients can drive it through configuration files and its controller API. In practice it is used as the engine under rule-based proxy setups on desktops, servers, and gateways, especially where users need protocol diversity, subscription/provider handling, DNS policy, and route selection in one daemon.

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/mihomo/config.yaml$XDG_CONFIG_HOME/mihomo/config.yaml
Windows
%USERPROFILE%\.config\mihomo\config.yaml

executables

Installed executables

CommandKindExposureNote
mihomocliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.19.28
manager updated2026-07-08
local dataok
upstreamcurrent
latest detectedv1.19.28

https://github.com/MetaCubeX/mihomo

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mihomo
Version1.19.28
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mihomo
Homepagehttps://wiki.metacubex.one
Repositoryhttps://github.com/MetaCubeX/mihomo
Upstream docshttps://wiki.metacubex.one/en
LicenseGPL-3.0-or-later
Source archivehttps://github.com/MetaCubeX/mihomo/archive/refs/tags/v1.19.28.tar.gz
Last updated2026-07-08T03:44:14Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared
CaveatsYou need to customize $HOMEBREW_PREFIX/etc/mihomo/config.yaml.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemihomo
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

mihomo

nix profile install nixpkgs#mihomo
  • normalized package name match
  • Matched by: Mihomo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mi/mihomo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

mihomo

sudo port install mihomo
  • normalized package name match
  • Matched by: Mihomo
MacPorts ports tree · api.github.com · MacPorts ports tree: net/mihomo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/mihomo

scoop install main/mihomo
  • normalized package name match
  • Matched by: Mihomo
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/mihomo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

MetaCubeX.Mihomo

winget install --id MetaCubeX.Mihomo -e
  • normalized package name match
  • Matched by: Mihomo
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: MetaCubeX.Mihomo from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment