Get started
Install on macOS
Download Cloak Proxy for Mac, signed and notarized by Apple, open it, see what the first launch does, update to a new build, and uninstall everything it made.
Cloak Proxy is a single Mac app. You download a disk image, drag the app to your Applications folder, and open it. On Linux, see Install on Linux (beta). This page also covers updating to a new build and removing every file, certificate and setting the app creates.
Check the requirements
Section titled “Check the requirements”| Requirement | Details |
|---|---|
| macOS | macOS 14 Sonoma or later |
| Processor | Apple silicon or Intel. The download is a universal app that runs natively on both. |
| Disk space | The disk image is about 30 MB. |
| Account | None. Cloak Proxy is free for life, with no license key, trial or sign-in. |
| Optional | Xcode, to install the certificate in the iOS Simulator with one click. Android platform tools (adb), for one-click Android setup. |
Download and install
Section titled “Download and install”-
Click Download for Mac. Name and email are optional: leave your email only if you want release notes. The download of
Cloak-Proxy.dmgstarts, and the page shows the file’s SHA-256. -
Optional: check the file is the one Subcloak published. In Terminal, run the command below and compare its output with the SHA-256 on the download page. They should match exactly.
Terminal window shasum -a 256 ~/Downloads/Cloak-Proxy.dmg -
Open
Cloak-Proxy.dmgfrom your Downloads folder. -
In the disk image window, drag Cloak Proxy onto the Applications shortcut, following the arrow.
-
Eject the disk image. You can delete the
.dmgfile afterwards.
Install with Homebrew
Section titled “Install with Homebrew”If you use Homebrew, you can install Cloak Proxy from Subcloak’s tap instead. It installs the same notarized app into Applications and puts cloakctl on your PATH.
brew install --cask subcloak/tap/cloak-proxyUpdate it with brew upgrade --cask cloak-proxy. brew uninstall --cask cloak-proxy removes the app, and from 0.5.0 also App Capture’s network extension if you installed it. Since 0.5.0
Open Cloak Proxy the first time
Section titled “Open Cloak Proxy the first time”Open Cloak Proxy from your Applications folder. It’s signed with a Developer ID and notarized by Apple, so it opens like any other app. Since 0.4.2 The first time, macOS asks whether you want to open an app downloaded from the internet: click Open.
If you still have 0.4.1 or older, which weren’t notarized, see macOS won’t open the app the first time, or download the current version.
What happens on the first launch
Section titled “What happens on the first launch”When Cloak Proxy opens for the first time, it sets itself up on your Mac. Nothing is sent anywhere: the app has no account or activation.
-
It creates a root certificate. Cloak Proxy generates its own certificate authority (CA) and private key in
~/Library/Application Support/CloakProxy. It uses them to decrypt HTTPS for the hosts and apps you choose. See Root certificate. -
It starts the proxy on port 9090. The proxy listens on
127.0.0.1:9090, so only this Mac can use it until you allow other devices. -
It turns on the macOS proxy. Cloak Proxy points the Mac’s HTTP and HTTPS proxy settings at itself, so apps and browsers on this Mac send their traffic through it. Your previous proxy settings are saved and come back when you quit. If macOS requires administrator rights to change network settings, it asks for your password. See Capture macOS traffic.
-
It asks you to trust the certificate. An orange banner reads Trust the Cloak Proxy certificate to decrypt HTTPS. Click Install & Trust… and confirm with your password. Until you do, Cloak Proxy still records plain HTTP and lists HTTPS connections, but can’t show what’s inside them.
HTTPS traffic shows as locked tunnels at first. That’s expected: Cloak Proxy only decrypts the hosts and apps you turn SSL Proxying on for. The Quick start walks you through your first decrypted request.
Update to a new version
Section titled “Update to a new version”Since 0.5.4 From 0.5.4, Cloak Proxy updates itself. Choose Cloak Proxy › Check for Updates…: it says You’re up to date, or shows the new version’s release notes with Install and Relaunch, Remind Me Later and Skip This Version. Install and Relaunch downloads the update from download.subcloak.com, checks it, quits Cloak Proxy the usual way (your proxy settings are put back and capture stops, as with ⌘ Q), installs it and opens the new version. Your certificate, sessions and settings stay as they are. If the app is in a folder you can’t write to (installed with the package, for example), macOS asks for an administrator’s password.
Before installing, Cloak Proxy checks that the update is signed with Subcloak’s update key and that the app in it is signed by Subcloak’s Apple Developer ID (team 8JJX52F3NV). An update that fails either check isn’t installed, and the window says why.
- Installed with Homebrew: the window shows the new version with Copy Command; run
brew upgrade --cask cloak-proxyso Homebrew keeps track of the version. - Managed by your organization: if a configuration profile turns installing from the app off, the window only says a new version is out: Your organization installs Cloak Proxy updates on this Mac.
To be told about new versions without asking, turn on Check for updates automatically in Settings › General › Updates: Cloak Proxy then checks once a day when it opens. Nothing is downloaded until you choose Install and Relaunch. See Check for updates.
0.5.3 and earlier don’t update themselves: their Check for Updates… Since 0.2.2 offers Download, Release Notes and Later, and you update by hand, as below.
Update by hand
Section titled “Update by hand”To update 0.5.3 or earlier, download the new build and replace the app. If you installed with Homebrew, quit Cloak Proxy and run brew upgrade --cask cloak-proxy instead.
-
Quit Cloak Proxy with ⌘ Q. This restores your macOS proxy settings.
-
Download the latest
Cloak-Proxy.dmgfrom subcloak.com/apps/cloak-proxy. -
Drag Cloak Proxy onto Applications and choose Replace when Finder asks.
-
Open the new copy.
Your settings, rules, root certificate, saved filters, kept traffic and API client workspace live outside the app, so an update keeps all of them. You don’t need to trust the certificate again. If you capture apps that ignore the proxy, Cloak Proxy refreshes its background helper to point at the new copy when it opens. If you use App Capture, macOS replaces its network extension with the new copy’s by itself: there’s nothing to approve again, and App Capture keeps its apps.
Where Cloak Proxy keeps its files
Section titled “Where Cloak Proxy keeps its files”Directory~/Library/
DirectoryApplication Support/CloakProxy/
- cloak-proxy-ca.pem the root certificate
- cloak-proxy-ca-key.pem the root certificate’s private key (readable only by you)
- api-token the token for the local control API, cloakctl and MCP
- ca-bundle.pem macOS root certificates plus Cloak Proxy’s, created when you set up a Terminal
- autosave.cloaksession captured traffic, only while Keep captured traffic when Cloak Proxy quits is on (readable only by you)
DirectoryWorkspace/ the API client workspace, unless you chose another folder
- …
DirectoryLogs/CloakProxy/
- cloak-proxy.log diagnostics: proxy changes, listener errors, certificate actions
- cloak-proxy.log.1 to .3 older diagnostics, once the log passed 10 MB
DirectoryPreferences/
- com.subcloak.cloakproxy.plist settings, debugging tool rules, filter presets, pins
DirectoryLaunchAgents/
- com.subcloak.cloakproxy.dns-standby.plist only while you capture apps that ignore the proxy
Directory/etc/resolver/
- example.com one file per captured domain, only while you capture apps that ignore the proxy
The login keychain also holds the trusted root certificate (named Cloak Proxy CA (…)), and, if you used those features, a Cloak Proxy GitHub token item for publishing Gists and CloakProxy Vault items for the API client’s vault.
Captured traffic stays in memory until you save a session. It’s written to disk on its own only if you turn on Keep captured traffic when Cloak Proxy quits in Settings › General, which saves it to ~/Library/Application Support/CloakProxy/autosave.cloaksession.
Uninstall Cloak Proxy completely
Section titled “Uninstall Cloak Proxy completely”Undo the system changes from inside the app first, while it’s still installed. Then delete the app and its files.
-
Remove App Capture’s network extension, if you installed it. Since 0.5.0 Open Proxy › Device & Runtime Setup… › App Capture, click Remove Extension… and confirm. macOS may ask for your password, or finish at the next restart. Deleting the app doesn’t remove the extension. See Remove App Capture.
-
Stop capturing apps that ignore the proxy. If the sidebar shows a Not using the proxy section with captured apps (a green check mark), click each one and choose Stop Capturing. This removes the files in
/etc/resolverand the background helper. macOS asks for your password. -
Remove the root certificate. Open Cloak Proxy › Settings… › Certificate and click Remove from Keychain. This removes the trust setting and deletes every Cloak Proxy CA from your login keychain.
-
Quit Cloak Proxy with ⌘ Q. Your previous macOS proxy settings come back.
-
Delete the app. Drag Cloak Proxy from Applications to the Trash.
-
Delete its files. In Terminal:
Terminal rm -rf ~/Library/Application\ Support/CloakProxyrm -rf ~/Library/Logs/CloakProxydefaults delete com.subcloak.cloakproxy -
Remove keychain items you created. Open Keychain Access, search for
Cloak ProxyandCloakProxy, and delete the Cloak Proxy GitHub token and any CloakProxy Vault items. Or in Terminal:Terminal security delete-generic-password -s com.subcloak.cloakproxy.github -
Remove the extras you set up. Only if you made them:
You set up Remove it cloakctllinked into/usr/local/binsudo rm /usr/local/bin/cloakctlCloak Proxy as an MCP server in Claude Code claude mcp remove cloak-proxy(or delete thecloak-proxyentry from your assistant’s MCP config)TLS key logging Delete the key log file, by default ~/Desktop/cloak-proxy-sslkeys.logThe certificate on an iPhone, iPad, simulator or Android device Remove it on the device. See Devices. The proxy on an Android device In Cloak Proxy’s Android setup, click Disconnect Proxy before you uninstall, or run adb shell settings put global http_proxy :0The proxy on an iPhone or iPad Settings › Wi-Fi › ⓘ › Configure Proxy › Off
Clean up after deleting the app
Section titled “Clean up after deleting the app”If you already deleted the app without the steps above, remove what’s left by hand.
If websites stop loading after Cloak Proxy is gone, the Mac’s proxy may still point at 127.0.0.1:9090. Open System Settings › Network, select your connection (for example Wi-Fi), click Details…, open Proxies, and turn off Web proxy (HTTP) and Secure web proxy (HTTPS). Or in Terminal, for each network service:
networksetup -setwebproxystate "Wi-Fi" offnetworksetup -setsecurewebproxystate "Wi-Fi" offnetworksetup -listallnetworkservices lists your service names.
security delete-certificate -c "Cloak Proxy CA"Run it again until it reports that the certificate can’t be found. You can also search for Cloak Proxy CA in Keychain Access and delete it there.
Since 0.5.0 If System Settings › General › Login Items & Extensions › Network Extensions still lists Cloak Proxy, or systemextensionsctl list shows com.subcloak.cloakproxy.transparent-proxy, reinstall Cloak Proxy into Applications and remove the extension from its App Capture page, or run:
"/Applications/Cloak Proxy.app/Contents/MacOS/CloakProxy" --remove-network-extensionThen delete the app again.
Captured domains resolve through Cloak Proxy. Without the app and its helper they stop resolving, so remove the resolver files and the helper:
for f in /etc/resolver/*; do head -1 "$f" | grep -q '^# Cloak Proxy capture' && sudo rm -f "$f"donesudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
launchctl bootout gui/$(id -u)/com.subcloak.cloakproxy.dns-standbyrm -f ~/Library/LaunchAgents/com.subcloak.cloakproxy.dns-standby.plistThe loop only deletes files whose first line is Cloak Proxy’s marker, so resolver files from other tools stay.