Command Reference - fluxcd/flux2

Flux v2 Command Reference

The Flux v2 project provides a command-line interface (CLI) for interacting with the system. The Flux CLI is available as a binary executable for all major platforms and can be installed using package management or Bash scripts.

Installing Flux CLI

Here are the different ways to install Flux CLI:

  • Homebrew (for macOS and Linux):
brew install fluxcd/tap/flux
  • Bash (for macOS and Linux):
curl -s https://fluxcd.io/install.sh | sudo bash