Remix.run Logo
curt15 a month 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

1718627440 a month ago | parent [-]

1. apt install kubernetes-client

Your steps were for adding a third-party vendor to the precious list of trusted software. I would argue that for the impact it has (giving a 3rd party access to your computer) it is really pretty easy.