ZVM-SETTINGS(1)
π 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
trueorfalse. - Strings may be given bare or as a quoted JSON string.
- URLs must use HTTP or HTTPS.
mirrorListUrlalso acceptsdisabled(special lil guy π§).minisignPubKeymust 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 insettings.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 likejq -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
- 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