Skip to content

Shell Completions

Generate or install shell completion scripts for qwik itself, so qwik <Tab> offers command and alias suggestions.

Terminal window
qwik completion bash # print completion script to stdout
qwik completion zsh --install # install into ~/.zshrc + ~/.zfunc/_qwik
Shell --install action
bash writes ~/.bash_completions/qwik.sh + appends source line to ~/.bashrc
zsh writes ~/.zfunc/_qwik + appends fpath/compinit to ~/.zshrc
fish writes <fish config>/completions/qwik.fish (auto-loaded, no rc edit)
pwsh / powershell appends the script to $PROFILE

Installs are idempotent — a # qwik completion (<shell>) marker is checked before appending — and back up the rc file with a timestamp before modifying it. Re-running --install is always safe.

Typer’s built-in completion also works:

Terminal window
qwik --install-completion bash
qwik --show-completion bash

qwik completion provides the same scripts with qwik’s own backup + idempotency behavior on top.

This page is about completing qwik’s own commands. The aliases you register with qwik add become native shell commands via the hook — see Shell Integration — and are completed by your shell as ordinary commands.