iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🦖

Fix: Unable to install eksctl (Weaveworks Homebrew tap) on M1 Mac

に公開

Introduction

I tried to download eksctl following the official AWS steps below, but it failed on an M1 Mac, so I'm documenting a workaround here.
https://docs.aws.amazon.com/eks/latest/userguide/eksctl.html

Failed Command and Error Message

I was unable to perform the Install the Weaveworks Homebrew tap. step mentioned on the official page above.

Command

brew tap weaveworks/tap

Error Message

MacBook-Pro:home sora$ brew tap weaveworks/tap
Error: No Homebrew ruby 2.6.8 available for arm64 processors!
Error: Failed to upgrade Homebrew Portable Ruby!

Successful Commands

Run the following two commands.

curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin

References

https://eksctl.io/introduction/#installation

Discussion