# Installer mihomo avec Homebrew, MacPorts, Nix, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mihomo pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:mihomo
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install mihomo
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mihomo
```

  Preuve: MacPorts ports tree: net/mihomo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mihomo
```

  Preuve: nixpkgs package indexes: pkgs/by-name/mi/mihomo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install mihomo
```

  Preuve: openSUSE Tumbleweed package metadata: mihomo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/mihomo
```

  Preuve: Scoop official bucket manifest trees: bucket/mihomo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id MetaCubeX.Mihomo -e
```

  Preuve: Windows Package Manager source index: MetaCubeX.Mihomo from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:mihomo
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.19.29
- **Résumé source:** Another rule-based tunnel in Go, formerly known as ClashMeta
- **Page d'accueil:** <https://wiki.metacubex.one>
- **Dépôt:** <https://github.com/MetaCubeX/mihomo>
- **Dernière mise à jour:** 2026-07-29T17:04:54+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- mihomo (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.19.29
## Historique du projet et usages

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.

### Historique du projet

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.

### Modes d'utilisation

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.

### Sources

- <https://formulae.brew.sh/formula/mihomo>
- <https://github.com/MetaCubeX/mihomo/releases>
- <https://ports.macports.org/port/mihomo/details/>
- <https://wiki.metacubex.one/en/>
- <https://wiki.metacubex.one/en/config/general/>


## Notes de sécurité

formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- formula declares a Homebrew service


## 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

- Unix: ~/.config/mihomo/config.yaml, $XDG_CONFIG_HOME/mihomo/config.yaml
- Windows: %USERPROFILE%\.config\mihomo\config.yaml
## Autres enregistrements de gestionnaires de paquets

- Nix - mihomo: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/mihomo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - mihomo - 1.19.29-1.2: normalized package name match | openSUSE Tumbleweed package metadata: mihomo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The universal proxy platform | https://github.com/MetaCubeX/mihomo
- MacPorts - mihomo: normalized package name match | MacPorts ports tree: net/mihomo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/mihomo: normalized package name match | Scoop official bucket manifest trees: bucket/mihomo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - MetaCubeX.Mihomo: normalized package name match | Windows Package Manager source index: MetaCubeX.Mihomo from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/mihomo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mihomo.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
