Install eksctl on macOS
This article is for those looking for a detailed and straightforward guide on installing eksctl on macOS.
eksctl is a simple command-line tool for creating clusters in Elastic Kubernetes Service (EKS). It is written in Go and uses CloudFormation.
In this guide, we will consider the case when you already have the Homebrew package manager installed.
To install Homebrew, you can use the command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
This guide covers installation using the terminal emulator iTerm2.
We connect the repository with formulas for Homebrew using the command:
brew tap weaveworks/tap
Run the eksctl installation with the command:
brew install weaveworks/tap/eksctl
Next, you can see the installed version of eksctl using the command:
eksctl version
Everything is ready to use eksctl.
You can read more about how to configure AWS CLI in my guide “Configure AWS CLI”.