Skip to main content

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 MacOS distribution. If you are using Homebrew, you can install kubectl with the following command:

Install LocalOps CLI

To quickly install or update the LocalOps CLI on your macOS distribution, run one of the following commands in your terminal:

Download Binaries

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

Verify Installation

After installation, verify that the ops CLI is installed correctly by running:
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:
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.