I learned while working on a new Kubernetes course that the official way of installing the AWS CLI on macOS per their documentation [^0] installs the x86 version of the CLI and that Apple Silicon is, mysteriously, not supported.
The Homebrew formula works around this by building from source [^1], but not everyone uses Homebrew, including me, for this course.
This script I wrote remediates this. It’s a quick and easy way of installing the AWS CLI without a package manager or having to dig through GitHub Gists or Homebrew formulas yourself.
I hope someone out there finds this useful!
[^0]: https://docs.aws.amazon.com/cli/latest/userguide/getting-sta…
[^1]: https://github.com/Homebrew/homebrew-core/blob/master/Formul…. Notice how the awscli dependencies are downloaded as separate packages. This might not be what you want.
Comments URL: https://news.ycombinator.com/item?id=43323759
Points: 1
# Comments: 0
Leave a Reply
You must be logged in to post a comment.