Advice to fellow computer-touchers: distrust those install commands you're supposed to copy-paste into your terminal from websites.
Google's first result when I searched for homebrew (Mac OS package manager) was a sponsored result for a phishing attempt hosted on Google Drive. The so-called install command would fetch and run a bash script that would itself fetch and run a very shady-looking executable payload.

