title: How to update kubectl to latest version and sync kubectl client and server version on MacOs (local minikube)?
body: <p>I've updated <code>kubectl client version</code> to the latest but I am not able to update <code>kubectl server version</code> to the latest due to which client and server versions are different. The problem is: how can I update <code>kubectl server version</code>?</p>
  <p>P.S i'm running minikube on docker locally</p>
  <pre><code>Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;18&quot;, GitVersion:&quot;v1.18.0&quot;, GitCommit:&quot;9e991415386e4cf155a24b1da15becaa390438d8&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-03-25T14:50:46Z&quot;, GoVersion:&quot;go1.13.8&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
  WARNING: version difference between client (1.22) and server (1.18) exceeds the supported minor version skew of +/-1 ``` 
  
  
  
  ```commands which i used to update Kubectl client version are below (for mac intel chip):
  Link reference: https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/ ```
  </code></pre>