nixCraft published a tutorial about installing Homebrew on macOS to use the brew package manager.
How to install Homebrew on macOS (brew command)
Explains how to install Homebrew on macOS or Mac computer to easily install open-source CLI & development tool using the brew package manager
How to install Homebrew on macOS (brew command) - nixCraft