Skip to content

Instantly share code, notes, and snippets.

@theprivileges
Created September 20, 2021 21:10
Show Gist options
  • Save theprivileges/a77954512931b7f0fd56b2dd39f819e5 to your computer and use it in GitHub Desktop.
Save theprivileges/a77954512931b7f0fd56b2dd39f819e5 to your computer and use it in GitHub Desktop.
How to install and run ClamAV on Mac

install homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

install clamav

brew install clamav

configure

cd /usr/local/etc/clamav/
cp freshclam.conf.sample freshclam.conf
sed -ie 's/^Example/#Example/g' freshclam.conf

update

freshclam -v

scan

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