> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ale.run/llms.txt
> Use this file to discover all available pages before exploring further.

# Prerequisites

> Prerequisites for installing ale on an AWS EKS cluster.

<Info>
  **Note**

  * This guide is written based on **Kubernetes v1.30**.
</Info>

***

## Install Tools

<Warning>
  For Windows, it is recommended to install WSL2 and use ale in a Linux environment.
  Refer to [this guide](https://learn.microsoft.com/en-us/windows/wsl/install) to install WSL2 first.
</Warning>

<AccordionGroup>
  <Accordion title="AWS CLI">
    Install the AWS CLI by running the following command:

    ```bash theme={null}
    curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" && \
    sudo installer -pkg AWSCLIV2.pkg -target /
    ```
  </Accordion>

  <Accordion title="eksctl">
    ```bash theme={null}
    ARCH=amd64
    # ARCH=arm64 (for macOS-Apple Silicon or Linux with arm64 architecture)
    PLATFORM=$(uname -s)_$ARCH
    curl -sLO "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_$PLATFORM.tar.gz"
    tar -xzf eksctl_$PLATFORM.tar.gz -C /tmp && rm eksctl_$PLATFORM.tar.gz
    sudo mv /tmp/eksctl /usr/local/bin
    ```
  </Accordion>

  <Accordion title="kubectl">
    Install kubectl according to your OS and architecture.

    **macOS**

    <CodeGroup>
      ```bash macOS (Apple Silicon) theme={null}
      curl -LO "https://dl.k8s.io/release/v1.30.2/bin/darwin/arm64/kubectl"
      ```

      ```bash macOS (Intel) theme={null}
      curl -LO "https://dl.k8s.io/release/v1.30.2/bin/darwin/amd64/kubectl"
      ```
    </CodeGroup>

    **Linux**

    <CodeGroup>
      ```bash Linux (x86-64) theme={null}
      curl -LO https://dl.k8s.io/release/v1.30.2/bin/linux/amd64/kubectl
      ```

      ```bash Linux (arm64) theme={null}
      curl -LO https://dl.k8s.io/release/v1.30.2/bin/linux/arm64/kubectl
      ```
    </CodeGroup>
  </Accordion>

  <Accordion title="helm">
    ```bash theme={null}
    curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
    chmod 700 get_helm.sh
    ./get_helm.sh  
    ```
  </Accordion>
</AccordionGroup>

***

## Configure AWS Account

### Set Environment Variables

```bash theme={null}
export CLUSTER_NAME=<EKS Cluster Name>
```

### Configure AWS CLI

```bash theme={null}
aws configure
AWS Access Key ID [********************]: <AWS Access Key>
AWS Secret Access Key [********************]: <AWS Secret Access Key>
Default region name [ap-northeast-2]: <AWS Region>
Default output format [json]: Choose from json, yaml, text, or table
```
