How to Install Homebrew on Ubuntu (Step-by-Step Guide)
TL;DR Install Homebrew on Ubuntu in these steps: sudo apt-get install build-essential procps curl file git /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install...

Source: DEV Community
TL;DR Install Homebrew on Ubuntu in these steps: sudo apt-get install build-essential procps curl file git /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" echo >> /home/pc/.bashrc echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)"' >> /home/pc/.bashrc eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)" Then verify: brew doctor If you see: Your system is ready to brew. You’re all set. Introduction If you have used macOS before, you’ve probably come across brew (Homebrew). It’s a simple and powerful package manager that makes installing developer tools much easier. I previously used brew on macOS and really liked the experience, so I decided to try it on Ubuntu as well. My goal was to use both Homebrew and the native Ubuntu package manager apt in my development. In this guide, I’ll walk through how to install Homebrew on Ubuntu. Throughout this installation, we’ll reference the official Homebrew documentat