Yep, the electric fence is the best option, of course, if you’re anything like me you will shock yourself the most. haha
I live in a deer park myself, everyone around here and all the vineyards have 8–10 ft. fences and hotwire around their gardens and grapes.
Years ago I ran a hotwire around a flower bed that bordered my house, I finally gave up and just planted herbs the deer wouldn’t eat after shocking myself in the armpit every morning reaching for a flower and getting zapped. lol
Or…you could take a tip from my avatar…order Mtn. Lion pheremones and spray them around the fence line. ;-)
One year I grew and strung hot red peppers and hung them on the fence, I saw one deer take a bite and then go nuts shaking it’s head and running away. Hot pepper spray on any exposed plants works too.
Now all of the plants surrounding my deck and patio are deer proof. Bamboos, Zebra grasses, and japanese willows, although they will nibble the new growth on the willows.
The neverending battle of hooves and antlers.