Skip to content
Homebrew install prefixes on macOS: on Apple Silicon brew --prefix returns /opt/homebrew, on Intel it returns /usr/local, above a row of common verbs install, list, upgrade, cleanup, services, bundle dump.

How to Install and Use Homebrew on macOS

Homebrew is the package manager most Mac developers use to install command-line tools and apps from the Terminal. This covers installing it, the commands you’ll use day to day, running background services, backing up your… 
Two columns comparing a PATH before and after macOS path_helper runs: on the left, /opt/homebrew/bin set in ~/.zprofile sits at position 1 above /usr/bin and /bin; on the right, after /etc/zprofile runs path_helper, /opt/homebrew/bin has moved to position 14, below /usr/bin and /bin.

How to Add to PATH on macOS

Adding a directory to your PATH is how you get macOS to find a command by name instead of typing its full location every time. There’s more than one way to do it, and which… 
Dark terminal card headed Two ways to hide a file, showing ls -lO output where flagged.txt carries hidden in the file flags column while visible.txt carries a dash, and ls -ldO on the Library folder showing it also carries the hidden flag despite having no dot in its name, with labels reading a leading dot or the hidden flag and user name redacted

How to Show Hidden Files on a Mac

There is a keyboard shortcut that shows hidden files in the Finder immediately, and for most people that is the entire answer. What trips people up comes after: some files stay out of sight even…