Test the configuration after extracting, before starting the service
Name the executable mihomo and place it in your chosen directory. On Unix-like systems, make it executable. Save a trusted configuration to ~/.config/mihomo/config.yaml, then run the test command below. A successful test confirms that the configuration parses; it does not verify the remote service or routing results.
mihomo -d ~/.config/mihomo -t
mihomo -d ~/.config/mihomo
Watch the logs in the foreground first, then consider running mihomo under a service manager. By default, proxy and control ports listen only on the local machine. For LAN access, configure the listen address, firewall, and authentication for your use case. Never expose the control interface directly to the public internet or share subscription credentials in public support posts.