Every developer knows about the Homebrew package manager that makes it really easy to install, update applications, and utilities on a Mac. The installation of homebrew remains the same for the new macOS version BigSur, but we will explain how to it anyway in this article.
Jupyter markdown hotkey. Markdown cells can be selected in Jupyter Notebook by using the drop-down or also by the keyboard shortcut 'm/M' immediately after inserting a new cell.
Note for ARM processors users
If your Mac uses the Apple Silicon (M1 Chip), you will have a problem with the installation till the date of publication of this article. You can read in this another article how to solve the issue of Homebrew that doesn't run on the M1 chip.
Homebrew complements macOS (or your Linux system). Install your RubyGems with gem and their dependencies with brew. “To install, drag this icon” no more. Homebrew Cask installs macOS apps, fonts and plugins and other non-open source software. The homebrew installation script will install the program to / usr / local / homebrew by default, which is the installation path on Intel chip architecture, while the M1 chip needs to be installed under / opt / homebrew /. I'm having what looks like the same issues with brew upgrade and git. I recently upgraded to 11.2 (M1 Mac Mini), realized it broke homebrew, and reinstalled the CLT. I did then brew upgrade, which kicked this error: [email protected] % brew update Warning: git 2.30.1 is already installed and up-to-date.
If your processor has an Intel-based processor, then you can follow the tutorial without any inconvenience (which is short anyway).
Start by opening the Terminal and start the homebrew setup by simply downloading the installation script of homebrew with curl and then running it with bash. You can easily do this with a single command like this:
The installation script does a variety of stuff as setting the installation directory and so on. After running the command, the terminal will probably prompt for your password if it's required. Then, the installation will take a while and once it finishes, you can easily verify if it works running the following instruction:
Homebrew On M1
The command should generate the following output:
Homebrew For Mac M1
Happy coding ❤️!