<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>

<p>Posted community wiki answer for better visibility. Feel free to expand it.</p>
<hr />
<p>You need to upgrade your minikube version in order to upgrade the kubectl server version.</p>
<p>Based on <a href="https://stackoverflow.com/questions/45002364/how-to-upgrade-minikube/64362273#64362273">this answer</a> to upgrade minikube on macOS you just need to run these commands (since 2020):</p>
<pre><code>brew update
brew upgrade minikube
</code></pre>
<p>If you encountered any problems, I'd suggest to fully delete minikube from your system (based on <a href="https://gist.github.com/rahulkumar-aws/65e6fbe16cc71012cef997957a1530a3" rel="nofollow noreferrer">this GitHub page</a>):</p>
<pre><code>minikube stop; minikube delete &amp;&amp;
docker stop $(docker ps -aq) &amp;&amp;
rm -rf ~/.kube ~/.minikube &amp;&amp;
sudo rm -rf /usr/local/bin/localkube /usr/local/bin/minikube &amp;&amp;
launchctl stop '*kubelet*.mount' &amp;&amp;
launchctl stop localkube.service &amp;&amp;
launchctl disable localkube.service &amp;&amp;
sudo rm -rf /etc/kubernetes/ &amp;&amp;
docker system prune -af --volumes
</code></pre>
<p>Then you can install minikube with the newest version from scratch by <a href="https://minikube.sigs.k8s.io/docs/start/" rel="nofollow noreferrer">using brew</a>:</p>
<pre><code>brew install minikube
</code></pre>
<p>either by <a href="https://minikube.sigs.k8s.io/docs/start/" rel="nofollow noreferrer">downloading and installing a binary file</a>:</p>
<pre><code>curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64
sudo install minikube-darwin-amd64 /usr/local/bin/minikube
</code></pre>
