Install LocalOps CLI on macOS
To quickly install or update the LocalOps CLI on macOS, 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 Mac:
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 script
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.