Skip to content

How to safely install Flux CLI #4185

Closed Answered by kingdonb
WOW-Lin asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, the local Flux installation is usually accomplished with a package manager tool such as brew, nix, or chocolatey – the flux install command doesn't serve any function to install or upgrade the cli itself:

https://fluxcd.io/flux/installation/#install-the-flux-cli

The command flux install isn't generally meant to be used except for with the --export command, like in the getting started guide or in the Flux GitHub Action where you can use it to generate the manifests for upgrading Flux outside of a normal bootstrap process.

https://fluxcd.io/flux/flux-gh-action/#automate-flux-updates

You should not run flux install against a live cluster, and for production clusters you typically shou…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@WOW-Lin
Comment options

Answer selected by kingdonb
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants