Skip to content

Instantly share code, notes, and snippets.

@henrychoi7
Forked from gagarine/install-clamav-osx.md
Created July 2, 2020 02:12
Show Gist options
  • Save henrychoi7/a6049da4b965fedd98e11468962f6bed to your computer and use it in GitHub Desktop.
Save henrychoi7/a6049da4b965fedd98e11468962f6bed 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" (in new version it may be "FooClam") 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