Before running kubectl commands, you should have the kubectl development skills and understand the kubectl operations. For details, see Kubernetes API and kubectl CLI.
Go to the Kubernetes release page to download kubectl corresponding to the cluster version or a later version.