ZVM-ALIAS(1)
๐ ZVM-ALIAS(1) ๐
okay bestie, welcome to zvm-alias, the part of the zvm manual that's literally just about giving your installed Zig versions cute little nicknames ๐ this page lives in the User Commands section of the manual, and honestly? it's giving main character energy.
โจ NAME โจ
zvm-alias โ name installed Zig versions ๐ธ
like, you know how your Zig versions all have boring numbers? yeah. we're fixing that. no cap.
๐ฆ SYNOPSIS ๐ฆ
zvm alias
zvm alias name
zvm alias name version
zvm alias --delete name
zvm alias --clear
look at all those forms, we love a versatile icon ๐
๐ DESCRIPTION ๐
Create, inspect, list, or delete aliases for installed Zig versions. periodt. and here's a lil bonus: kv is an alias for the alias command itself โ so you can be lazy and type fewer letters, which is honestly so valid of you ๐
here's the vibe check on how it works:
- with no arguments, it lists every alias you've got. the whole roster.
- with only name, it prints that one alias. just the one. she's the main character now.
- with name and version, it creates or replaces an alias. ๐ซถ
โ ๏ธ heads up bestie: the target version must already be installed before you can alias it. no making promises to versions that aren't even here yet ๐ญ. also, version shorthand is accepted, so you can be a little loose with it.
and the best part? aliases may be used as version arguments to install, use, run, and uninstall. literally everywhere. they're stored in aliases.json under the ZVM base directory, as a JSON object of name to version. so clean. so organized. we stan ๐ง
๐ OPTIONS ๐
-d,--deleteโ delete the named alias. and here's the iconic part: deleting an alias that does not exist succeeds. no drama, no error, no crying. it's just fine ๐โจ--clearโ delete all aliases. every single one. scorched earth, but make it cute ๐ฅ
๐ EXAMPLES ๐
okay here's the whole group chat in action:
zvm alias work 0.14.1
โ makes an alias called work pointing at 0.14.1. slay ๐ผ
zvm kv play .13
โ uses the kv shorthand and version shorthand together, because why type more than you have to ๐ฎ
zvm alias work
โ prints what work is pointing at. quick lil check-in ๐
zvm alias
โ lists every alias. the full lineup ๐
zvm alias --delete work
โ bye bye work ๐๐ญ
๐ FILES ๐
~/.zvm/aliases.jsonโ the alias file ๐. ifZVM_PATHis set, the file is$ZVM_PATH/aliases.jsoninstead. either way, that's where all your nicknames live.
๐ง SEE ALSO ๐ง
zvm(1), zvm-use(1), zvm-run(1), zvm-uninstall(1) โ go read those too, iykyk ๐ฆ
๐ and that's the whole page, bestie! this one's from ZVM v0.9.4, dated August 2026 โ so go forth and name your Zig versions something unserious. mwah ๐โจ
๐ฆ where this page comes from
- nixpkgs unstable: zvm 0.9.4
- Copyright 2026 Tristan Isham. All rights reserved
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms