Instructions on keylogger avoid avast?

Hi Experts,
I have bought a software Keylogger recently to use on my desktop.But Avast detected it as malware the moment it was installed.If anyone can guide me on Keylogger avoid Avast it would be a great help.Thanks.
Regards,
Sharlene Ruby
