#### Download sing-box Download sing-box macOS binary package from [GitHub Releases](https://github.com/SagerNet/sing-box/releases/latest) or Github Actions. Move the `sing-box` to the appropriate location (e.g. /Applications/sing-box/, hereafter referred to as the `working directory`). #### Creates Plist file Create a new Plist file and save to ~/Library/LaunchAgents/ Example: ```bash nano ~/Library/LaunchAgents/org.sagernet.sing-box.plist ``` The content is as follows (`[]` needs to be deleted) : ```xml KeepAlive Label org.sagernet.sing-box ProgramArguments /Applications/sing-box/sing-box [Path to sing-box] run --config /Applications/sing-box/config.json [Path to config.json] --directory /Applications/sing-box [Path to working directory] RunAtLoad ``` #### Check the Plist file ```bash plutil ~/Library/LaunchAgents/org.sagernet.sing-box.plist ``` #### Load the plist file ```bash launchctl load ~/Library/LaunchAgents/org.sagernet.sing-box.plist ``` #### Confirm ```bash launchctl list | grep org.sagernet.sing-box ``` After the correct configuration, sing-box will be load after booting automatically. To stop the Sing-box service, replace the command from `load` to `unload`.