Appearance
Development
Requirements
Building from Source
shell
git clone https://github.com/MetaCubeX/mihomo.git
cd mihomo
go mod download
go buildBuild with gVisor TUN Stack
shell
go build -tags with_gvisorGo Proxy
If GitHub connectivity is limited:
shell
go env -w GOPROXY=https://goproxy.io,directDebugging
Enable debug API as documented in the wiki.
Testing
Run the test suite with Docker:
shell
make testBenchmark (Linux only):
shell
make benchmarkSee Testing Reference for details.