Skip to content

zarf completion bash

zarf completion bash

Generate the autocompletion script for bash


Generate the autocompletion script for the bash shell.

This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your OS’s package manager.

To load completions in your current shell session:

source <(zarf completion bash)

To load completions for every new session, execute once:


zarf completion bash > /etc/bash_completion.d/zarf


zarf completion bash > $(brew --prefix)/etc/bash_completion.d/zarf

You will need to start a new shell for this setup to take effect.

zarf completion bash


-h, --help help for bash
--no-descriptions disable completion descriptions

Options inherited from parent commands

-a, --architecture string Architecture for OCI images and Zarf packages
--insecure Allow access to insecure registries and disable other recommended security enforcements such as package checksum and signature validation. This flag should only be used if you have a specific reason and accept the reduced security posture.
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
--no-color Disable colors in output
--no-log-file Disable log file creation
--no-progress Disable fancy UI progress bars, spinners, logos, etc
--tmpdir string Specify the temporary directory to use for intermediate files
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")


  • zarf completion - Generate the autocompletion script for the specified shell