Finding a virus?

I was installing a program and avast said it had virus, but it gave me the option to install it anyways.
I now this program is legit but now I have this curiosity, where is the “virus” or how to find it after it’s been installed? I tried full scan but it won’t find any virus.
Thanks.

I don’t believe it said “it had a virus,” aside from the fact viruses are actually very rare now, malware is one possibility.

That said even for malware I doubt avast would allow you to install it. There is a possibility it could have had a low reputation or may have been a PUP.

I think you can see where I’m heading with this, we need more information, you can put it in the new topic in the viruses and worms forum.
A screenshot of the alert window, right clicking on the avast tray and select ‘Show last popup message.’
Failing that the filename, location and malware name given.

what was the message form avast?

I now this program is legit
Have you tested it at virustotal.com ?
where is the "virus" or how to find it after it's been installed?
If detected and removed it should be in virus chest