Homebrew on M1/M2/M4 macOS

First, install Homebrew – https://brew.sh/

Authenticate when prompted to. Edit/create bin paths in the .zshrc file. In the home directory run the command

then add these lines in. (The last line is my local bin – my little reminder).

Save and exit. Then restart the terminal, or you can log out and log in. Now you can run these commands and wait some time. Easy, fast, and effective.

Do you need other applications? Found it here https://brew.sh. Don’t you need some application that I have in the command? Remove it from the list before running it.

The best of this solution is the fact, that you can update all these apps from the terminal. Use commands

…and wait. Brew does everything for you.

If you sometimes use the built-in upgrade mechanism of some apps, you can run this command to be sure, that all brew way installed apps will be up to date:

In a one-line command, it would be like this