127 words
1 minutes
A practical guide to Homebrew

A practical guide to Homebrew#

Homebrew is a popular package manager for macOS and Linux that simplifies the installation of software. This guide provides practical steps to get started with Homebrew.

Installing Homebrew#

To install Homebrew, open the Terminal application and run the following command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Follow the on-screen instructions to complete the installation.

Basic Commands#

brew install#

The brew install command installs a package.

brew install package_name

brew update#

The brew update command updates Homebrew to the latest version.

brew update

brew upgrade#

The brew upgrade command upgrades all installed packages to their latest versions.

brew upgrade

brew uninstall#

The brew uninstall command removes a package.

brew uninstall package_name

Conclusion#

Homebrew is a powerful tool that makes it easy to manage software on macOS and Linux. By learning the basic commands, you can efficiently install, update, and manage packages on your system.


A practical guide to Homebrew
https://zxce3.net/posts/cli/a-practical-guide-to-homebrew/
Author
Memet Zx
Published at
2021-12-27