Install homebrew on WSL Ubuntu

First of all, update the system and install following packages.

sudo apt-get update
sudo apt-get install build-essential procps curl file git 

Then install homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Do not forget to follow the 'Next Steps' shown in the output of previous command

run them one by one, in order

echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/rd/.zprofile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

You are all set 🚀

brew help

HIH
Till next time, take care ✌
~RD

Helpful?

If you think this is helpful 🎈
Don't keep it to yourself 🙊

Share it with your lovely followers at twitter 🗽

lets connect viatwitter