Skip to content

qwik

A friendly CLI alias manager. Create, manage, and run shell aliases from a single interface — cross-platform, with one-time shell hook setup.

Two ways to run

Type gs as a native shell command after a one-time hook install, or run qwik -r gs anywhere — scripts, CI, restricted shells — with no setup at all.

Arguments done right

Template aliases with {1}, {name}, {@}, {*}, and {1:-default}. Compiled to native shell syntax in the hook — no per-call process spawn — and missing required arguments produce clear errors, never silently-empty output.

Cross-platform

Rendered natively for bash, zsh, fish, PowerShell, cmd, Nushell, and Xonsh — with shell-aware quoting chosen by the shell that will run the command.

Safe by default

Conflict detection against builtins and $PATH, atomic writes with rolling backups, quoted runtime substitution, trust-boundary previews before any import — and a one-command qwik undo to restore any backup.

Organized

Tags, groups, fuzzy search, usage stats, a history-driven qwik suggest, and an interactive picker — your alias store stays discoverable as it grows.

Shareable

Export and import TOML files, sync through a dedicated git repo, or point an overlay at a team alias repository — read-only, shadow-safe, and (optionally) SSH-signed with commit pinning. Ship a .qwik.toml with your repo for project-scoped commands.

Completes like a native command

gco <Tab> offers branches, not filenames — declare per-argument candidates with –complete-with, or delegate to the wrapped program’s own completion with –complete-from.

Fast startup

Interactive dependencies load lazily and shell renderers are cached, so hook-time invocations like qwik init stay quick.

Extensible

Add your own shell renderers and CLI commands through Python entry points — qwik discovers them automatically.

Terminal window
# install (pipx or uv)
pipx install qwik
# register an alias and install the shell hook
qwik add gs "git status"
qwik init bash --install
source ~/.bashrc
gs # native shell alias
qwik -r gs # same thing, no hook needed

New to qwik?

Start with the Introduction to understand the two ways to run aliases and how the shell hook works.

Sharing with a team?

Sharing & Syncing explains export/import, git sync, and team overlays.

Something broken?

Run qwik doctor, then check Troubleshooting for the common cases.

Command reference

Every command and flag is documented in Commands.