Skip to content

Instantly share code, notes, and snippets.

@petersgiles
Created October 1, 2017 09:44
Show Gist options
  • Save petersgiles/0f3da720bd4482c31506debf8bd28d57 to your computer and use it in GitHub Desktop.
Save petersgiles/0f3da720bd4482c31506debf8bd28d57 to your computer and use it in GitHub Desktop.
install clamav with homebrew

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