Set up Clash on your Mac

ChocLite for Mac is a native macOS app on the same clash-rs core as the iPhone app, and it needs macOS 15 or later. It connects as a VPN, so apps on your Mac use it without any per-app setup.

  1. Install ChocLite

    Get ChocLite from the Mac App Store and open it. It has no servers of its own, so have your provider’s subscription link or a Clash configuration file ready.

  2. Import your configuration

    On Home, click the Config step to open Configurations. Paste your link into Subscription URL and click Download configuration. For a YAML file, choose File → Import Configuration… (⌘O). If the link is already on your clipboard, File → Import Subscription from Clipboard (⇧⌘V) imports it. To use a QR code, click Import QR Code in the toolbar.

  3. Connect

    Select the configuration in the list, go back to Home and click Connect. The first time, macOS asks whether to allow ChocLite to add a VPN configuration; allow it. You can also connect and disconnect from the Connection menu (⌘↩).

  4. Choose a routing mode

    Click the Routing step on Home, or use the Connection menu (⌥⌘1 to ⌥⌘3), to switch between Smart, Simple and Bypass. Smart follows the rules in your configuration, Simple sends everything through the one server you select, and Bypass sends everything direct. You can switch while connected.

  5. Keep it in the menu bar

    ChocLite adds an icon to the menu bar that shows whether you are connected. Its panel has the connect switch, the active configuration, a Routing picker, live speeds, Open ChocLite, Settings… and Quit ChocLite. Closing the window leaves ChocLite running in the menu bar. In Settings (⌘,), the Mac section has Launch at login, Show in Dock and Detect subscription links on the clipboard.

  6. Use the ports in other apps

    While connected, Home lists the ports the core is listening on under Listeners, such as HTTP, SOCKS and Mixed; which ones appear depends on your configuration. An app that has its own proxy setting can point at this Mac and one of those ports. Turn on Allow LAN under Network Settings to let other devices on your network use them. Local proxy server in Settings → Tunnel behavior controls whether ChocLite also sets this Mac’s system HTTP proxy to the local port; tunnel changes take effect after reconnecting.

Good to know

Rules, Proxies, Connections, Flows, DNS and Logs are in the Mac sidebar as part of the Dashboard, ChocLite’s optional paid add-on. On a Mac, Connections and Logs can also open in their own window with Open in New Window.

Turn on Sync subscriptions to Apple TV in Settings to send your subscriptions to ChocLite on your Apple TV.