3

I'm sorry if this is a stupid question, but I've been searching for days with no results.

What is the default package manager for macOS Catalina terminal?

% brew
zsh: command not found: brew

I've tried others (apt, apt-get, yum, etc.) but none of them are pre-installed. Any help is greatly appreciated!

1

1 Answer 1

4

The only package manager that’s somewhat default is /usr/bin/easy_install for python. You have to choose and install any of the leading open source type package managers.

For brew, this has been the command to download and run code from the internet.

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

If this thought makes you cringe, alternate install paths are safer than trusting dns and scripts without having a chance to inspect them.

mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .