ZVM-SETTINGS(1)

πŸ“¦ version 0.9.4, in nixpkgs unstable

πŸ‘‘ ZVM-SETTINGS(1) β€” the manual page, but make it cute πŸŽ€

okay bestie, welcome to zvm-settings(1) from the ZVM User Commands collection ✨ this is the lil page that teaches you how to look at, poke at, and vibe-check ZVM's very own settings.json β€” and honestly? it's giving main character energy πŸ’…


πŸ’– NAME πŸ’–

zvm-settings β€” view, edit, and check ZVM's settings.json, no cap 🌸


✨ SYNOPSIS ✨

zvm settings
zvm settings .key [value]
zvm settings --check

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea, bestie πŸ“ β€” when you run it with no arguments inside a terminal, it opens up an interactive editor for settings.json. Iconic. But the moment standard input or standard output is not a terminal, it doesn't open the editor β€” instead it prints the settings as JSON. Lowkey considerate, fr fr πŸ’œ

A .key argument picks out exactly one setting, and it uses jq dot notation to do it β€” so all three of these are valid: .useColor, ."useColor", or .["useColor"]. And the path . selects the whole file (yes, the entire thing, go off πŸ‘‘).

Quick reminder though: settings.json is a flat object, so nested paths get rejected. That's just the rules πŸ’…

  • With only a key, it prints that key's value as JSON.
  • With a key and a value, it validates the value and saves it.

Now for the validation deets, because this part matters πŸ”₯:

  • Booleans take true or false.
  • Strings may be given bare or as a quoted JSON string.
  • URLs must use HTTP or HTTPS.
  • mirrorListUrl also accepts disabled (special lil guy 🧚).
  • minisignPubKey must be a valid minisign public key.
⚠️ If a value is invalid, it gets rejected and nothing is saved. No silent mess, no corrupt file β€” she simply refuses 😌

And when settings.json is loaded, any invalid entries β€” malformed JSON, wrong types, invalid values, or unknown keys β€” get reported as warnings, and ZVM just uses the defaults for them without rewriting the file. The editor marks those entries so you can see them πŸ‘€; saving replaces them with valid values and drops unknown keys. Clean slate behavior, periodt ✨


πŸŽ€ EDITOR KEYS πŸŽ€

moving around πŸ•Ί

  • j, k, Down, Up β€” move between settings. classic.
  • g, G, Home, End β€” jump straight to the first or last setting. zoom zoom πŸ¦‹

editing πŸ’…

  • Enter, i, l β€” edit the selected value. Enter applies it, Esc cancels. no commitment issues here 🫢
  • Space β€” toggle a boolean setting. flip it like a light switch πŸ’‘
  • r β€” reset the selected setting back to its default. we love a fresh start 🌸

saving πŸ’Ύ

  • w, Ctrl+S β€” save settings.json. protect your work bestie 😭

vim girlies rise πŸ‘‘

  • :w, :q, :wq, :x, :q! β€” vim-style save and quit commands. iykyk πŸ”₯

leaving πŸšͺ

  • q, Esc β€” quit. buuut if you've got unsaved changes, you gotta press q again to quit without saving. she's just checking you're sure πŸ™ˆ

⭐ OPTIONS ⭐

  • --check β€” reports every invalid entry in settings.json, and exits with a non-zero status if there are any. the ultimate vibe check πŸ”
  • -r, --raw-output β€” prints string values without JSON quotes, exactly like jq -r. clean output, no extra fluff πŸ’œ

🌈 EXAMPLES 🌈

zvm settings .useColor
zvm settings .useColor false
zvm settings -r .mirrorListUrl
zvm settings .mirrorListUrl disabled
zvm settings --check

look at her go 😭✨ all five, slaying in their own little way.


🫢 SEE ALSO 🫢

go read those too, they're literally part of the family πŸ’–


ZVM v0.9.4 Β· October 2026 β€” that's the version and the date, bestie πŸŽ€ and that's a wrap on zvm-settings(1)! now go forth and edit your settings with confidence, you gorgeous nerd πŸ‘‘πŸ’…βœ¨

πŸ“¦ 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