Quick Start
This guide gets you from zero to a working native alias in about two minutes.
-
Install qwik.
Terminal window pipx install qwikSee Installation for the
uvalternative. -
Register your first alias.
Terminal window qwik add gs "git status"qwik checks the name for conflicts (builtins, existing binaries) before saving — see Conflict Detection.
-
Test it immediately, no setup needed.
Terminal window qwik -r gsThe
-rflag runs any alias through qwik’s engine — handy in scripts and CI, and your safety net before the hook is installed. -
Install the shell hook.
Terminal window # bashqwik init bash --install && source ~/.bashrc# zshqwik init zsh --install && source ~/.zshrcThis appends a small hook to your rc file (with a timestamped backup) that regenerates native aliases on every new shell session.
-
Run it as a native command.
Terminal window gsqwik lsnow showsgswith a native command and aUsedcount of 1.
Make it interesting: an alias with arguments
Section titled “Make it interesting: an alias with arguments”qwik add gco "git checkout {1}"gco main # → git checkout maings --short # → git status --short (extra args appended)Placeholders like {1} turn aliases into mini-functions with validated
arguments and default values. Full details in
Alias Templates & Arguments.
Try editing the store
Section titled “Try editing the store”Run qwik edit gs — it opens a TOML snippet in your $EDITOR. Save and
quit to apply. The change is live in every new shell session automatically.
What’s in the store
Section titled “What’s in the store”qwik list # pretty table: name, command, group, tag, usageqwik show gs # full metadata for one aliasWhere to go next
Section titled “Where to go next”- Pass arguments to aliases: Alias Templates & Arguments
- Set up other shells (fish, PowerShell, Nushell): Shell Integration
- Tidy up with tags and groups: Organizing Aliases
- Move your old rc-file aliases in: export/import in Sharing & Syncing
- Something not working? Troubleshooting