az aks install-cli
Download and install kubectl, the Kubernetes command-line tool. Azure CLI reference
7 options Its page in the Azure CLI reference
Options
--base-src-urlBase download source URL for kubectl releases.--client-versionVersion of kubectl to install.--gh-tokenGitHub authentication token used when downloading kubelogin binaries from GitHub releases.--install-locationPath at which to install kubectl.--kubelogin-base-src-url, -lBase download source URL for kubelogin releases.--kubelogin-install-locationPath at which to install kubelogin.--kubelogin-versionVersion of kubelogin to install.