A friendly Mac app for ClamAV, the open-source antivirus engine.
Dr. Mac checks your files for viruses, trojans, ransomware and phishing documents, keeps an eye on new downloads and the drives you plug in, and locks away anything it finds. Everything runs on your Mac, with no account and no subscription.
Install · Features · What it isn't · How it works · Privacy · Build
brew tap RossNicholson/tap
brew trust --cask rossnicholson/tap/drmac
brew install --cask drmacHomebrew 7 asks you to trust casks from other taps before installing them. On older versions of Homebrew, skip the brew trust line.
Or download the DMG from the latest release. Needs macOS 14 Sonoma or later, on Apple silicon or Intel. Dr. Mac is signed and notarized by Apple. More at rossnicholson.dev/drmac.
Updating. Open Settings → Check for updates. Installed with Homebrew, Dr. Mac quits, updates and reopens on its own (or run brew upgrade --cask drmac). Installed from the DMG, it asks GitHub for the latest version and opens its download page.
Full Disk Access. macOS keeps some folders, like Mail and Messages, private from apps until you allow it. Dr. Mac works without it, but tells you how many folders and files it couldn't look inside, and shows you how to turn it on: System Settings → Privacy & Security → Full Disk Access.
- Quick scan. Downloads, Desktop, mail attachments and the places malware hides to start at login. A minute or two.
- Full scan. Your home folder, apps and libraries, plus every external drive plugged in (you can turn drives off). Time Machine drives are always left out.
- Scan anything. Pick files or folders, drop them on the window or the Dock icon, or right-click in Finder and choose Services → Scan with Dr. Mac. Anything you send while a scan is running waits its turn.
- Watch new files. Every new file in Downloads and Desktop, or folders you pick, is checked as soon as it has finished downloading or saving. Folders you unzip or move in are checked too.
- External drives. Plug in a USB stick or external drive and Dr. Mac offers to check it, with Scan and Don't ask for this drive right on the notification. Or have it check every drive straight away, or never.
- Quarantine. Threats are moved somewhere they can't run, automatically or when you say. Put a file back, trust it so it's never flagged again, or delete it for good. A long list can be quarantined or marked as fine in one go.
- Unwanted apps, if you want them. Optionally flag adware, hacking tools and remote-control apps too. These checks often catch developer tools, game files and browser caches by mistake, so Dr. Mac never quarantines them on its own: you decide.
- Clear results. Each threat says what it is (trojan, phishing, adware…) and whether it targets Macs or Windows. Dr. Mac tells you exactly what it couldn't check: files macOS keeps private, files too big for the size limit, or a scan the scanner couldn't finish.
- Scheduled scans. Daily or weekly, quick or full, at the hour you pick. If your Mac was asleep, the scan runs the next time it can.
- Always-current definitions. Dr. Mac downloads ClamAV's latest signatures from ClamAV's own servers every few hours, and tells you if updates stop getting through.
- History. Every scan, what it found and what happened to it.
- Menu bar panel. Health at a glance, scan progress, quick and full scans, the watch switch and quarantine. Drag the grip in the bottom-right corner to make it bigger. Closing the window keeps Dr. Mac in the menu bar; it can also open at login.
- Test it. One click makes the harmless EICAR test file and shows Dr. Mac catching it.
ClamAV is good at known malware, including Windows threats you might pass on in mail attachments and booby-trapped documents. It isn't a replacement for macOS's own protection (Gatekeeper and XProtect), which stays on. Watching checks new files in the folders you choose once they arrive; it doesn't hook into macOS to block every file as it opens. No antivirus catches everything.
Dr. Mac bundles ClamAV 1.5.5 (Cisco's notarized universal build) inside the app and drives its programs:
clamdholds the signatures in memory while you scan, then shuts down after five idle minutes so it isn't using 1.5 GB of memory in the background (or stays ready, if you prefer). If Dr. Mac quits or crashes, it goes too.freshclamdownloads definitions fromdatabase.clamav.netinto~/Library/Application Support/Dr. Mac/Definitions.- Quarantined files go to
~/Library/Application Support/Dr. Mac/Quarantine, readable only by you. Put back, a file gets its original permissions again.
Dr. Mac checks your files on your Mac and never sends anything about them anywhere. It only goes online to download ClamAV's virus definitions and to check GitHub for new Dr. Mac releases. It has no analytics or tracking, and no account. Notifications are local. Your settings, history and quarantine stay on your Mac.
You need Xcode 26 and XcodeGen.
brew install xcodegen
git clone https://github.com/RossNicholson/dr-mac.git
cd dr-mac
make testThe build downloads the pinned ClamAV release and checks its SHA-256 before using it (scripts/vendor-clamav.sh). make run builds and opens a development copy signed with the maintainer's Developer ID, so macOS remembers the permissions you give it between builds; to build your own copy, open the project with xcodegen generate && open DrMac.xcodeproj and pick your own team. make screenshots renders every screen with sample data into build/screenshots. Releasing is one command; see RELEASING.md.
Every scan is done by ClamAV, the open-source antivirus engine from Cisco Talos. Dr. Mac runs its programs and turns their results into the screens you see. If you like the terminal, use ClamAV directly.
The look and the menu bar panel come from HouseStyle, shared with my other Mac apps: BrewDock, ClawdBar, Mop Up, KeyBar, Repo Radar, MacPing and Taurine. It uses Barlow Condensed and Geist Mono, both under the SIL Open Font Licence.
Dr. Mac is made by Ross Nicholson. For help, see the support page or email support@rossnicholson.dev.
If Dr. Mac gave your Mac a clean bill of health, you can buy me a coffee ☕
Dr. Mac is free software under the GNU General Public License v2.0 or later.
ClamAV® is © Cisco Systems, Inc. and is licensed under the GNU GPL v2. Dr. Mac runs ClamAV's unmodified programs; the exact source of the bundled copy is attached to every Dr. Mac release. ClamAV is a registered trademark of Cisco. Dr. Mac isn't made by or affiliated with Cisco or the ClamAV project.