For those who use Time Machine, one other thing to consider is restoring an old version of your computer to wipe out all traces of the virus.Many viruses are user-specific, rather than device-specific. If you're still worried about having a virus, you may want to create a new user profile on your Mac.Even if you go through all of the above steps, it's still a good idea to once again run a malware-detection software like Clean My Mac X or Malwearbytes - both are free and will give you peace of mind when it comes to your computer's health.
Other steps you can take to get rid of a virus on a Mac