Other Installation Options

If krew plugins are not an option, it’s still possible to run the same Preflight tool by installing a binary on your workstation, or by running preflights in a Docker container.


To install, download the latest release from our GitHub releases.


curl -LO https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.15/preflight_darwin_amd64.tar.gz
tar xzvf preflight_darwin_amd64.tar.gz
sudo mv preflight /usr/local/bin/kubectl-prefight


To install preflight on Linux:

curl -LO https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.15/preflight_linux_amd64.tar.gz
tar xzvf preflight_linux_amd64.tar.gz
sudo mv preflight /usr/local/bin/kubectl-preflight


To install on Windows, download the latest release:

https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.15/preflight_windows_amd64.zip and unzip it.