i've only been using it on linux.
it's command line based, so access is via the terminal, but there might also be a GUI for it available somewhere aswell.
anyway, to use it, the easiest way is to go to the location you want in Finder and use "open in terminal window" (or something similar)
if you are there, enter
this will scan that directory
other common uses:
will scan everything in that directory including all subfolders
will scan a specified file
will scan your whole HDD, but some directories will likely be protected by SIP i guess
basically the same as the one above and should be sufficient to use as SIP protected directories are practically immune to malware
and to manually update it's definitions to the most current:
clamAV is also just a scanner to reveal malicious files.
it will not isolate, or delete infected files, or even extract that code from files.