Think about this more: what malware are you going to get by running that command that you wouldn't get by downloading the file and running it locally?
You'll eventually realize that the answer is that this advice has no value. What could potentially have value is reviewing the code before running it, which can be done either way.