With no air in space there would be no shockwave, even from a nuke. Any force exerted against an asteroid would have to come from the direct impact of bomb shrapnel, and that’s not likely to do much. I wonder if the radiant heat from a nuclear explosion, if directed at a specific side of an asteroid, could produce enough of an opposite force to gently nudge it onto a different path on some future close pass. It certainly wouldn’t work in the short term, but maybe it could have a longer term effect.
I always thought the tech on the salvage 1 show was on point. Nasa could learn a few things. https://youtu.be/HODkJABWo08
Joel Higgins was awesome
The Greta stare would do the job. How close do we need to get her?
I'm enough of a gentleman to try to get her back afterwards, but if the planet is in peril, that becomes secondary.