Commands
Every qwik command, in one place. For narrative guides, start at Quick Start.
Global usage
Section titled “Global usage”qwik [COMMAND] [ARGS...]qwik -r NAME [ARGS...] # run an aliasqwik -l # quick listqwik -s QUERY # quick searchqwik # interactive pickerGlobal options: --version / -v, --help / -h, and --no-color
(disable colored output for this invocation).
Managing aliases
Section titled “Managing aliases”add — Create alias
Section titled “add — Create alias”qwik add gs "git status"qwik add gs "git status" --tag git --description "Repo status"qwik add gs "git status" --group gitqwik add gs "git status" --force # overwrite existingqwik add # interactive modeRuns conflict detection on the name.
rm — Delete alias
Section titled “rm — Delete alias”qwik rm gsqwik rm gs --yes # skip confirmationrename — Rename alias
Section titled “rename — Rename alias”qwik rename gs gstat # preserves statsedit — Edit in $EDITOR
Section titled “edit — Edit in $EDITOR”qwik edit gsOpens a TOML snippet (command, tag, group, description,
enabled) in your $EDITOR. Save and quit to apply.
enable / disable — Toggle without deleting
Section titled “enable / disable — Toggle without deleting”qwik disable gs # hides from shell hookqwik enable gs # re-enablesViewing and finding
Section titled “Viewing and finding”list / ls — Pretty table
Section titled “list / ls — Pretty table”qwik list # all aliases (or: qwik -l)qwik list --tag git # filter by tagqwik list --group git # filter by groupqwik list --search stat # filter by queryshow — Detailed view
Section titled “show — Detailed view”qwik show gs # full metadatasearch — Fuzzy search
Section titled “search — Fuzzy search”qwik search "git"qwik search "git" --group git # restrict to a groupRunning
Section titled “Running”run — Execute alias
Section titled “run — Execute alias”qwik run gsqwik run gs --short # pass extra argsqwik -r gs --short # shortcut flagArgument behavior (append mode, template mode, quoting) is documented in Alias Templates & Arguments.
pick — Interactive fuzzy picker
Section titled “pick — Interactive fuzzy picker”qwik # bare invocation opens the pickerqwik pick # explicitKeys: filter by typing, ↑/↓ navigate, Enter run, Ctrl+E edit,
Ctrl+D delete, Esc cancel.
Organizing
Section titled “Organizing”tag / untag
Section titled “tag / untag”qwik tag gs gitqwik untag gs workgroup / ungroup
Section titled “group / ungroup”qwik group gs git # assign primary groupqwik ungroup gs # remove the groupOne group per alias, many tags — see Organizing Aliases.
Moving aliases
Section titled “Moving aliases”export / import
Section titled “export / import”qwik export ~/aliases.toml # share / backupqwik import ~/aliases.toml # mergeqwik import ~/aliases.toml --overwrite # replace the whole store (preview + confirm)sync — Git-based machine-to-machine sync
Section titled “sync — Git-based machine-to-machine sync”qwik sync init --remote <git-url>qwik sync push [-m "msg"]qwik sync pull [-y]qwik sync statusoverlay — Team shared read-only store
Section titled “overlay — Team shared read-only store”qwik overlay add --url https://github.com/team/qwik-aliases --branch mainqwik overlay listqwik overlay updateqwik overlay copy --name gsqwik overlay removeAll of these show a trust-boundary preview before applying incoming commands — see Sharing & Syncing.
Insights and safety net
Section titled “Insights and safety net”stats — Usage dashboard
Section titled “stats — Usage dashboard”qwik stats # totals, most used, busiest group, time savedqwik stats --top 5 # five most-used aliasesqwik stats --unused # aliases never runqwik stats --unused --since 7d # not run in the last 7 days (7h, 2w…)qwik stats --unused --prune # remove unused user aliases after confirmationqwik stats --json # machine-readable outputOverlay aliases are read-only: --prune reports them and skips them.
suggest — Alias suggestions from shell history
Section titled “suggest — Alias suggestions from shell history”qwik suggest # review candidates interactivelyqwik suggest --dry-run # print candidates, create nothingqwik suggest --min-count 5 --limit 3 # stricter filtersqwik suggest --since 30d # only recent historyqwik suggest --history-file ~/.bash_history # parse exactly this fileqwik suggest --json # machine-readable candidatesFrequent commands are ranked by estimated keystrokes saved. Secret-shaped
commands are never suggested, and every candidate is conflict-checked
against builtins, existing aliases, and $PATH binaries before it is
offered — see Conflict Detection.
undo — Restore the store from a backup
Section titled “undo — Restore the store from a backup”qwik undo --list # list available backupsqwik undo # diff + confirm, then restore the newestqwik undo --diff # show what the newest restore would changeqwik undo --to 20260815-1418 # restore a specific (partial) stampqwik undo --yes # skip confirmationThe restore itself writes a backup of the pre-restore store, so a restore can be undone — see Store & Backups.
Setup and health
Section titled “Setup and health”init — Shell hook
Section titled “init — Shell hook”qwik init bash # print hook to stdoutqwik init bash --install # append to rc file with backupcompletion — Shell completions
Section titled “completion — Shell completions”qwik completion bashqwik completion zsh --installdoctor — Health check
Section titled “doctor — Health check”qwik doctor # shell, hook, store, conflicts, sync repoqwik doctor --fix # apply safe repairs (with confirmations)qwik doctor --fix --yes # skip fix confirmationsqwik doctor --json # machine-readable findings; always exits 0--fix applies only the safe repairs: restoring the store from a
backup, removing a stale lock file or crashed temp files, resetting the
overlay repo, and installing the hook. Anything that could shadow a
binary or change an alias command is never auto-fixed. Exit codes: 0 clean
or all fixed, 1 unfixed errors remain, 2 a fix attempt failed. See
Insights & Recovery.
Performance notes
Section titled “Performance notes”Every qwik invocation defers importing prompt_toolkit (used only by the
interactive pick screen) and caches shell-renderer discovery instead of
re-scanning installed-package metadata on each call — so a qwik call your
shell hook makes on every prompt, like qwik init, isn’t paying for either.