> ## 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 Linux

## 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-linux) 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 theme={null}
bash -c "$(curl -fsSL https://cli.localops.co/install.sh)"
```

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

<Note>You may be prompted to enter your password during the installation process.</Note>

You can view the source code for the installation script on
[GitHub](https://github.com/localopsco/lops-cli/blob/main/install.sh).

## Download Binaries

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

* [Linux arm64](https://github.com/localopsco/lops-cli/releases/latest/download/lops-linux-arm64.tar.gz)
* [Linux x86\_64 / amd64](https://github.com/localopsco/lops-cli/releases/latest/download/lops-linux-amd64.tar.gz)

## Verify Installation

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

```bash theme={null}
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 theme={null}
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](https://github.com/localopsco/lops-cli).
