I hate hitting practically any animal but my cat is aggressive and suddenly out of nowhere attacks my wife or me. Sometimes it's for the most mundane things like asking him to leave the kitchen and then closing the door. He will then jump as far as her neck with his claws and this behavior is outrageous. He can be so cute but he snaps sometimes for no reason at all, maybe attacking my wife when she's in the bathroom.
I need help in making him understand attacking us is not ok. I tried hitting him back but this clearly only works for a couple of hours he does not learn anything other than to fear me so he does not continue the string of attacks, but with my wife things are different, he can keep chasing her for minutes while she backs away and asks for him to calm down.
We tried with a spray bottle but this also had a temporary effect. We also tried putting him in a couple of minutes timeout in a room. Nothing helps long term, so please help me I'm desperate to have a peaceful solution with this cat, I love him dearly but this behavior is too much for us, help me solve this in a peaceful way.
I think it is also important to mention that this cat "adopted" us from the streets.