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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/reference/how-to-use-kubeconfig-on-windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
