Install eksctl - Amazon EMR

Install eksctl

You need to install the latest version of eksctl command line utility on macOS, Linux, or Windows. For more information, see https://eksctl.io/.

Important

To set up Amazon EMR on EKS, you must have eksctl 0.34.0 version or later.

To install or upgrade eksctl on macOS using Homebrew

The easiest way to get started with Amazon EKS and macOS is by installing eksctl with Homebrew. The eksctl Homebrew recipe installs eksctl and any other dependencies that are required for Amazon EKS, such as kubectl. The recipe also installs the aws-iam-authenticator, which is required if you don't have the AWS CLI version 1.16.156 or later installed.

  1. If you do not already have Homebrew installed on macOS, install it with the following command.

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  2. Install the Weaveworks Homebrew tap.

    brew tap weaveworks/tap
    1. Install or upgrade eksctl.

      • Install eksctl with the following command.

        brew install weaveworks/tap/eksctl
      • If eksctl is already installed, run the following command to upgrade.

        brew upgrade eksctl & brew link --overwrite eksctl
    2. Test that your installation was successful with the following command. You must have eksctl 0.34.0 version or later.

      eksctl version

To install or upgrade eksctl on Linux using curl

  1. Download and extract the latest release of eksctl with the following command.

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

    sudo mv /tmp/eksctl /usr/local/bin
  3. Test that your installation was successful with the following command. You must have eksctl 0.34.0 version or later.

    eksctl version

To install or upgrade eksctl on Windows using Chocolatey

  1. If you do not already have Chocolatey installed on your Windows system, see Installing Chocolatey.

  2. Install or upgrade eksctl.

    • Install the binaries with the following command.

      chocolatey install -y eksctl
    • If they are already installed, run the following command to upgrade:

      chocolatey upgrade -y eksctl
  3. Test that your installation was successful with the following command. You must have eksctl 0.34.0 version or later.

    eksctl version