I have had kubectl
installed from homebrew
in mac since a long time. So from my path, the homebrew kubectl is used.
Today I installed kubectl
using asdf
to be able to use different versions of kubectl
for different projects. However, my mac still sees the kubectl
path from my homebrew
installation - not the one from my new asdf
installation.
How do I run the kubectl
command and make it use the asdf version instead of using the homebrew version ?