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!

有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
不隶属于 apple.stackexchange
scroll top