Skip to content

clamav

Open source antivirus engine for scanning files and mail on Linux, macOS and Windows

Copyleft (OSI) · GPL-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

70

Health

Active

Overview

Stars

7,714

Last commit

yesterday

Nov 2026

Repository age

14 years

since Jul 2012

Latest version

clamav-1.5.5

Nov 2026

Contributors

–

5 active in 90 days

Releases

8

last 12 months

Language

C

ClamAV is an antivirus engine that detects trojans, viruses, malware and other malicious threats. It is written in C, licensed under GPL-2.0, and has been developed since 2012 under Cisco Talos. The latest release is 1.5.5.

You can install it from Debian and RPM packages for x86_64 and i686, a universal macOS PKG installer, Windows MSI installers and portable ZIP packages, Homebrew, Docker images, or from source. It has a command-line interface, and its documentation lives at docs.clamav.net.

ClamAV uses signatures, and the project publishes a manual for writing your own. Parts of the code come from third-party projects under other licenses. The UnRAR component has a restricted license that is incompatible with GPLv2, which matters if you redistribute builds.

It is a free option where you would otherwise buy a commercial antivirus engine for scanning files, though it is an engine and command-line toolset rather than a full endpoint product.

Who it's for

Sysadmins scanning mail or file servers

It is a command-line engine with Linux packages and Docker images you can script.

Skip if: You need a managed endpoint product with a central console.

Developers adding malware scanning to a pipeline

It is GPL-2.0 licensed, has a documented signature format and can be built from source.

Skip if: Your license policy cannot accept GPL-2.0 components.

The problem it solves

Commercial antivirus products cost money per seat and are hard to embed in your own services. ClamAV gives you a free scanning engine you can run from the command line or integrate into your own tooling.

Strengths

  • Packages for Linux, macOS and Windows, plus Docker images
  • Command-line interface suited to scripts and servers
  • Documented signature-writing manual
  • Developed since 2012, with 8 releases in the last year
  • Documentation also ships with each source release

Trade-offs

  • GPL-2.0 license carries redistribution obligations
  • The bundled UnRAR code has a restricted license
  • Engine and CLI tools, not a full endpoint suite
  • Setup relies on the online manual

Frequently asked questions

Is ClamAV free?

Yes. It is licensed under GPL-2.0.

Which platforms does it support?

Linux, macOS and Windows have installers or packages. Docker images are also available.

Can I write my own detection signatures?

Yes. The project publishes a signature writing manual.

Does it ship under only one license?

ClamAV itself is GPL-2.0, but it includes third-party components under other licenses, including a restricted UnRAR license.

Similar tools in Threat detection and monitoring

seeker

Threat detection and monitoring

Location-phishing proof of concept for security researchers and awareness training

10k 2.3k 24 days ago Slowing MIT

osquery

Threat detection and monitoring

24k 2.7k 4 days ago Active Unknown

fail2ban

Threat detection and monitoring

Log-scanning daemon that bans IPs after repeated failed logins on Linux and macOS servers

19k 1.5k today Active GPL-2.0

Canary Tokens

Threat detection and monitoring

Python network honeypot that alerts you when someone probes a private network

3.1k 430 yesterday Active BSD-3-Clause

suricata

Threat detection and monitoring

Network IDS, IPS and monitoring engine for teams that inspect traffic on their own

6.9k 1.8k today Thriving GPL-2.0

Mobile Verification Toolkit

Threat detection and monitoring

Command-line forensic toolkit for checking Android and iOS devices for spyware traces

16k 1.6k today Thriving GPL-3.0