In a cool and well ventilated area as you'll run your switch and other gear (router, modem, NAS etc) in the same location. A garage is less than ideal - can get too hot and dirty. However if your garage is situated such that it doesn't get hot in summer then you can consider setting up a cabinet in there if you are short of space inside the house.