Homebrew OSX & some basic packages

A simple homebrew setup for casual users:

OPEN THE TERMINAL APPLICATION  (  …   /Applications/Utilities/Terminal.app  )

$>  nano brew_start.sh
**** COPY the script below, and PASTE into the Terminal window running NANO
IN NANO: press “CTRL-X”, then “Y”, to save and exit back to terminal.
$>  chmod +x brew_start.sh
$>    ./brew_start.sh

*FOLLOW INSTRUCTIONS
*WAIT FOR COMPLETION

#!/bin/bash


# CHECK OR XCODE CLI TOOLS
git
echo "Press any key when Xcode CLI tools installation is complete..."
read


# CHECK FOR HOMEBREW & INSTALL IF NEEDED
if test ! $(which brew); then
  echo "Installing homebrew"
  ruby -e "$(curl -fsSl https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# REMOVE DATA COLLECTION OF USER BEHAVIOUR SAVING TO GOOGLE ANALYTICS
brew analytics off

# Update homebrew recipes
brew update

# homebrew-cask
echo "installing homebrew-cask..."
#brew tap phinze/cask
#brew brew-cask
brew cask  # ALLOW BREW INSTALLATION OF GUI APPS

brewlist=(

# BASH
bash-completion  #TERMINAL COMMAND COMPLETION
tree #TREE LISTING OF CURRENT PATH
nano #UPDATE OF NANO TO LATEST VERSION

# SYSTEM MONITORING
htop  #REPLACEMENT FOR TOP - MORE VISUAL
glances  #REPLACEMENT FOR TOP - HEAVIER & PRETTIER THAN HTOP
ncdu #NCURSES DISK USAGE
speedtest_cli #NETWORK SPEED TEST

# SECURITY & AV
clamav  #ANTIVIRUS SCANNER

# FILE MANAGEMENT & TRANSMISSIONS
mc #midnight-commander
unrar  #UNRAR
wget  #for downloads
curl  #for downloads

# MEDIA
ffmpeg --with-freetype  #VIDEO / MEDIA CONVERSION
mediainfo    #VIDEO / MEDIA information
imagemagick #IMAGE MANIPULATION & COMPRESSION
youtube-dl #YOUTUBE DOWNLOADER
webkit2png  #WWW RENDERER
)

brew install ${brewlist[@]}

# CASK - GUI APPS
brew cask install vlc  #VIDEO PLAYER
brew cask install mpeg-streamclip #VIDEO CONVERTER
brew cask install handbrake #VIDEO CONVERTER
brew cask install grandperspective #DISK USAGE ANALYZER
brew cask install 4k-video-downloader 
brew cask install calibre #EBOOK MANAGER, SYNC, ORGANIZER
brew cask install filezilla #FTP CLIENT
brew cask install gimp  #IMAGE MANIPULATION ALT TO PHOTOSHOP FOR MOST USES
brew cask install mactracker
brew cask install appcleaner #GUI APP UNINSTALLER - REMOVES ALL THE JUNK
brew cask install iterm2 #TERMINAL REPLACEMENT
#brew install --with-qt mkvtoolnix


# CLEAN UP
brew cleanup
brew doctor
brew prune