Mainly i want to update youtube-dl on my mac. I have used Linux so for that updating any app is very simple: apt-get update youtube-dl. But how to do it on Mac using home-brew. Is there any kind of general command or something which will work for all the apps?
Not for brew, but from the documentation, you can run
youtube-dl -U to update.