▲ | curt15 11 hours ago | |
As a long-time Linux user, I also find it ironic that after years of Linux nerds basking in the "superiority" of their package managers, Homebrew on Mac OS has eclipsed them all in terms of universality and ease of use. For example, compare the install instructions for kubectl: Linux DEB/RPM (https://kubernetes.io/docs/tasks/tools/install-kubectl-linux...): 1. sudo apt-get install -y apt-transport-https ca-certificates curl gnupg 2. curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.33/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg 3. sudo chmod 644 /etc/apt/keyrings/kubernetes-apt-keyring.gpg # allow unprivileged APT programs to read this keyring 4. echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.33/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list 5. sudo chmod 644 /etc/apt/sources.list.d/kubernetes.list # helps tools such as command-not-found to work correctly Mac OS (https://kubernetes.io/docs/tasks/tools/install-kubectl-macos...): 1. brew install kubectl |