Install LocalOps CLI
There are two ways to install LocalOps CLI on a Windows machine- Downloading Binaries — recommended, runs natively on Windows
- Using WSL — fallback, if you would rather work inside a Linux environment
Downloading Binaries
Download the Windows binary and run it directly. Pick the build that matches your processor architecture:- Windows arm64 — for ARM devices such as Surface Pro X or Copilot+ PCs
- Windows x86_64 / amd64 — for most Intel and AMD machines
Not sure which one you need? Run
echo $env:PROCESSOR_ARCHITECTURE in PowerShell. AMD64 means you need the amd64
build, ARM64 means you need the arm64 build.Extract the binary
Open PowerShell in the folder where the file was downloaded (usuallyDownloads) and extract the archive. Replace
amd64 with arm64 in the commands below if you downloaded the ARM build.
ops.exe into C:\Users\<you>\localops.
Run the binary
You can now run the CLI using its full path:Add to PATH (recommended)
To runops from any directory without typing the full path, add the folder to your user PATH:
Close and reopen your terminal for the
PATH change to take effect.Verify installation
Verify that the CLI is installed correctly by running:Update the CLI
To update, download the latest zip and extract it over the same folder:-Force flag overwrites the existing ops.exe.
Using WSL
If you would rather work inside a Linux environment, or the native binary does not suit your setup, you can install the CLI through WSL instead. 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.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 commandYou’ll need to restart your machine after the installation
This user is not the same as your Windows user.