Cakebrew will solve your problem with Homebrew running from the Terminal. Cakebrew allows you to perform most common tasks in Homebrew. This includes installing, upgrading, uninstalling and getting formula information. Cakebrew can also be used to update Homebrew. Note: Cakebrew cannot install Homebrew by itself! Homebrew is still in beta development. If you have any bugs, please report them or fix them. More information is available on the app's homepage cakebrew.
Version 1.3: