clamav

Install command:
brew install clamav

Anti-virus software

https://www.clamav.net/

License: GPL-2.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/clamav.json

Formula code: clamav.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.5.5
head ⚡️ HEAD

Depends on:

json-c 0.19 JSON parser for C
openssl@4 4.1.0 Cryptography and SSL/TLS Toolkit
pcre2 10.49 Perl compatible regular expressions library with a new API
yara 4.6.0 Malware identification and classification tool

Depends on when building from source:

cmake 4.5.1 Cross-platform make
pkgconf 3.0.11 Package compiler and linker metadata toolkit
rust 1.100.0 Safe, concurrent, practical language

Uses from macOS: bzip2, curl, libxml2, ncurses

Binaries: clamav-config, clambc, clamconf, clamd, clamdscan, clamdtop, clamonacc, clamscan, clamsubmit, freshclam, sigtool

Service:

Start now and at startup: sudo brew services start clamav
Run directly: $HOMEBREW_PREFIX/opt/clamav/sbin/clamd --foreground
To finish installation & run clamav you will need to edit
the example conf files at $HOMEBREW_PREFIX/etc/clamav/

GitHub Packages downloads:

Last 30 days29,622
Downloads518,213
Analytics install events (30 days)5,005
Downloads / install events (30 days)5.9×

Source: GitHub Packages, fetched 2026-11-24T00:53:18Z. Analytics dates: 2026-10-25 to 2026-11-24. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs5,0008,73822,342
Installs (--HEAD)5819
Installs on Request4,9988,71822,311
Installs on Request (--HEAD)5819
Build Errors21