Skip to content

Instantly share code, notes, and snippets.

@petersgiles
Forked from gagarine/install-clamav-osx.md
Created June 3, 2018 10:39
Show Gist options
  • Save petersgiles/eae13d11f2119928e5b201feaf604392 to your computer and use it in GitHub Desktop.
Save petersgiles/eae13d11f2119928e5b201feaf604392 to your computer and use it in GitHub Desktop.
Howto Install clamav on OSX with brew

Howto Install clamav on OSX with brew

$ brew install clamav
$ cd /usr/local/etc/clamav
$ cp freshclam.conf.sample freshclam.conf

Open freshclam.conf and comment the "Example" line:

# Comment or remove the line below.
# Example

Update database:

 $ freshclam

Run scan on all your files:

$ clamscan -r --bell -i /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment