> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-individual/reference/how-to-use-kubeconfig-on-windows.md).

# How to use kubeconfig on Windows

After you have successfully downloaded kubeconfig on the Deka GPU Service Portal. The following is a guide to using kubeconfig on the Windows operating system.

## Configure kubectl

The first step to be able to use kubectl is to download the kubectl file first. To be able to download kubectl, you can use two methods, namely:&#x20;

1. First way Download directly to [this page](<https://dl.k8s.io/v1.28.15/bin/windows/amd64/kubectl.exe >). Make sure to choose the version that suits the architecture you are using, and save the kubectl.exe file on your device.  After successfully downloading kubectl.exe, move kubectl.exe to the desired folder. In the "windows search bar" on your computer, enter "env". Select “Edit the system environment variables”.

<figure><img src="/files/vGTBL4eFa6Nc783aRaFx" alt=""><figcaption></figcaption></figure>

Add path from kubectl folder.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXevFYeeGrkAJ9fQ03ztLenPM4crk-CeDG_rRNtN15A7kbo6vTvmA0nBr76JEsYM_7i4qaX1oCAfT4GLuTlCjLqeUaGI4IZYoCDE-EbLI-Zn_-UFeT87I5XxKJ_q8MvWChNJx3SzhHkxHCJ17rQuTWk?key=k7F6zkDwbRDarUABscjeWnS8" alt=""><figcaption></figcaption></figure>

2. Second way Download using curl command. To be able to use curl, run the following command.

```bash
curl.exe -LO "https://dl.k8s.io/release/v1.31.0/bin/windows/amd64/kubectl.exe"
```

{% hint style="info" %}
To find out the latest version, see[ this page](https://dl.k8s.io/release/stable.txt).
{% endhint %}

If you have successfully downloaded kubectl, open CMD/Powershell on your computer, and check the version of kubectl that is installed.

```bash
kubectl version --client
```

<figure><img src="/files/0MD7e86l57a1Qqia5mrs" alt=""><figcaption></figcaption></figure>
