ZVM-ALIAS(1)

๐Ÿ“ฆ version 0.9.4, in nixpkgs unstable

๐Ÿ’… 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 ๐Ÿ’–. if ZVM_PATH is set, the file is $ZVM_PATH/aliases.json instead. 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
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms