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 Linux distribution.

Install LocalOps CLI

To quickly install or update the LocalOps CLI on your Linux distribution, run the following command in your terminal:

bash -c "$(curl -fsSL https://cli.localops.co/install.sh)"

This script downloads and installs the ops CLI to your system’s PATH.

You may be prompted to enter your password during the installation process.

You can view the source code for the installation script on GitHub.

Download Binaries

If you prefer to download the binary directly, you can choose the appropriate version for your Linux:

Verify Installation

After installation, verify that the ops CLI is installed correctly by running:

ops version

This command should display the CLI version, confirming that the installation was successful. 🚀

Uninstall CLI

To uninstall the CLI installed via the install script, run the following command:

bash -c "$(curl -fsSL https://cli.localops.co/uninstall.sh)"

If you have manually downloaded the binary, just delete it.

Source Code

Our binaries and installation scripts are hosted in our public GitHub repository: LocalOps CLI GitHub Repo.