Environment Variables
| Variable | Purpose |
|---|---|
EDITOR |
Editor for qwik edit (default: vi) |
QWIK_CONFIG_DIR |
Override default config directory |
XDG_CONFIG_HOME |
Base config dir (used by fish rc resolution) |
QWIK_DEBUG=1 |
Enable debug logs to stderr |
NO_COLOR |
Disable colored output (also --no-color) |
QWIK_SHELL |
Force shell detection (bash, zsh, fish, pwsh, cmd, nu, xonsh) instead of auto-detecting from the environment/parent process |
QWIK_CONFIG_DIRis the cleanest way to run an isolated store — useful for testing, dotfile management, or keeping work and personal alias sets separate:Terminal window export QWIK_CONFIG_DIR=~/.config/qwik-workqwik list # reads that store onlyQWIK_SHELLhelps in mixed environments (WSL, Git Bash, SSH with unusual parents) where parent-process detection might pick the wrong renderer — see Shell Integration.QWIK_DEBUG=1+QWIK_SHELLtogether are the fastest way to debug “why did my hook render like that?”:Terminal window QWIK_DEBUG=1 QWIK_SHELL=bash qwik init bash | headNO_COLORfollows the no-color.org convention; the--no-colorflag affects only the current invocation.
Related
Section titled “Related”qwik doctorreports the detected shell and config dir in effect — see Troubleshooting