<p>Due to a number of settings outside of my control, the default location of my kubectl cache file is on a very slow drive on my Windows PC. This ended up being the root cause for much of the slowness in my kubectl interactions.</p>

<p>I have a much faster location in mind. However, I can't find a way to permanently change the location; I must either temporarily alter the home directory environment variables or explicitly set it on each command. </p>

<p>Is there a way to alter my .kube/config file to permanently/persistently set my cache location? </p>

NBJack
<p>Best way for you is move the whole home directory to fast drive.</p>

<p>But if you don't want moving the whole directory you can <a href="https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/set-alias?view=powershell-6" rel="nofollow noreferrer">set Powershell alias</a> for your command like 
<code>PS&gt; Set-Alias -Name kubectl -Value "Path\to\kubectl --kubeconfig=PLACE_FOR_YOUR_CONFIG"</code></p>
