Install on Windows
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 ubunutu. Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator", enter the following command
wsl --install -d ubuntu
You'll need to restart your machine after the installation
Checkout Official WSL docs for more info.
After the reboot, run the command from your PowerShell
wsl
Once you have installed WSL, you will need to create a user account and password for your newly installed Linux distribution.
This user is not same as windows user.
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
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