What is the best way to repel squirrels?
Spread predator urine around your garden.
Try sprinkling cayenne pepper, ground chili peppers, pepper flakes, and/or garlic pepper on and around your plants when they are ready to bloom.
Birds can't taste capsaicin, so add some cayenne pepper to those bird feeders to deter squirrels.
Related guide for What Is The Best Way To Repel Squirrels?