Getting zsh killed inside lens terminal

Inside lens terminal i am getting zsh killed while running command kubectl version or any command related kubernetes . i have updated version also . i have tried all these things reinstall also but getting same . to run kubctl command

Can you run other commands in the Lens terminal? Can you run which kubectl and then try to run that kubectl from a system terminal?

deepakjaiswal@admins-MacBook-Pro-6 ~ % which kubectl
/Users/deepakjaiswal/Library/Application Support/Lens/binaries/kubectl/1.24.15/kubectl
deepakjaiswal@admins-MacBook-Pro-6 ~ % kubectl version
zsh: killed kubectl version