Question

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!

Était-ce utile?

La solution

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.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

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
Licencié sous: CC-BY-SA avec attribution
Non affilié à apple.stackexchange
scroll top