Download and run the installation script from the Linuxbrew GitHub repository: 
curl -sL https://raw.githubusercontent.com/linuxbrew/install/master/install.sh | source /dev/stdin
source <(curl -sL https://raw.githubusercontent.com/linuxbrew/install/master/install.sh)