First make sure you use the latest aws-cli version
pip install awscli --upgrade
Find out your EKS cluster version
aws eks list-clusters
aws eks describe-cluster --name <your cluster name>
With the version of your cluster download the correct kubectl from k8s.io.
curl -LO https://dl.k8s.io/release/v1.25.0/bin/linux/amd64/kubectl
chmod +x kubectl
mv kubectl ~/.local/bin/
In my case I was using version 1.25
Now get EKS credentials
aws eks update-kubeconfig --region <region-code> --name <your cluster name>
Test your kubectl
kubectl get svc
Get helm
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm