Hi Shiva,
What do you mean "uninstall everything"? Do you mean after you've already installed it? Not really, as it requires installing rvm, ruby, homebrew, etc. It's not too difficult to remove it, but it's not really "safe" to uninstall brew. There's only a handful of core things that it installs, so if you want to get rid of it, you can just go thru the opposite of install.sh and rip everything out.
Thanks,
--
Matt