> ## Documentation Index
> Fetch the complete documentation index at: https://docs.localops.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Install on Windows

## Prerequisites

* [kubectl](https://kubernetes.io/docs/reference/kubectl/) installed to access your LocalOps environment.

### Install kubectl

The Kubernetes command-line tool (kubectl) allows you to run commands against Kubernetes clusters. You can use kubectl
to inspect and manage cluster resources, and view logs.

Refer to the [official Kubernetes documentation](https://kubernetes.io/docs/tasks/tools/install-kubectl-windows) for
installation instructions for your specific Windows distribution.

### Install LocalOps CLI

There are two ways to install LocalOps CLI in a Windows machine

* [Using WSL](#using-wsl)
* [Downloading Binaries](#downloading-binaries)

## Using WSL

WSL is a feature developed by Microsoft that allows you to run a Linux distribution on your Windows machine. This
feature is supported on Windows 10 and above. For older versions of Windows, you may have to
[install it manually](https://learn.microsoft.com/en-us/windows/wsl/install-manual).

### Install WSL

You can choose your choice of Linux distro, in this example, we will be using Ubuntu. Open PowerShell or Windows Command
Prompt in administrator mode by right-clicking and selecting "Run as administrator", enter the following command

```bash theme={null}
wsl --install -d ubuntu
```

<Note>You'll need to restart your machine after the installation</Note>

Check out [Official WSL docs](https://learn.microsoft.com/en-us/windows/wsl/install) for more info.

After the reboot, run the command from your PowerShell

```bash theme={null}
wsl
```

Once you have installed WSL, you will need to create a user account and password for your newly installed Linux
distribution.

<Note>This user is not the same as your Windows user.</Note>

### Install CLI

Once you have everything up and running, you can install LocalOps CLI by following the instructions from the
[Install Linux](/cli/install-linux) page. Since we are running a linux distribution on a windows machine, steps are the
same.

## Downloading Binaries

You can download the binaries and execute them. Downlod links for

* [Windows arm64](https://github.com/localopsco/lops-cli/releases/latest/download/lops-windows-arm64.zip)
* [Windows x86\_64 / amd64](https://github.com/localopsco/lops-cli/releases/latest/download/lops-windows-amd64.zip)

### Verify installation

You can verify the isntallation by running the ops executable

```bash theme={null}
ops.exe version
```

This should print the cli version which confirms that LocalOps CLI is sucessfully installed 🚀

## Source

Our binaries and install scripts are hosted in our public github repo, checkout the soruce code at
[https://github.com/localopsco/lops-cli](https://github.com/localopsco/lops-cli)
