I was going to get a fence, but I tried this recipe
When we had a landscaper over to consult on, among other things, installing some deer fencing so we could plant some more perennials, he suggested a much cheaper solution. He gave us his homemade deer repellent recipe, and it’s been working fine for two months now.
The recipe is simple: 1 quart Texas Pete and 6 eggs and water. Mix the Texas Pete and eggs in a blender, and then add with water to fill a 1 gallon sprayer. Leave any unused portion in the sprayer until it all gets used.
Stays on after rains, though I made a refresher pass after a month or so, anyway.