Install Docker Desktop and you’ll get Kubernetes CLI.

Otherwise install directly as below.

macOS

See Install and Set Up kubectl on macOS for more details, autocompletion, and for installing with cURL.

Homebrew

$ brew install kubectl