Install on Windows
Prerequisites
- 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 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
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 command
Check out Official WSL docs for more info.
After the reboot, run the command from your PowerShell
Once you have installed WSL, you will need to create a user account and password for your newly installed Linux distribution.
Install CLI
Once you have everything up and running, you can install LocalOps CLI by following the instructions from the 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
Verify installation
You can verify the isntallation by running the ops executable
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