Configuring Settings
ZVM has additional settings stored in ~/.zvm/settings.json. You can manually
update version maps, toggle color support, and control install behavior here.
Many settings also have command flags or environment variables. This file is
stateful, and ZVM creates it if it does not exist.
Environment Variables
ZVM_DEBUGenables DEBUG logging for your executable. This is meant for contributors and developers.ZVM_SET_CUToggle the automatic upgrade checker. If you want to reenable the checker, justunset ZVM_SET_CU.ZVM_PATHreplaces the default install location for ZVM. Set the environment variable to the parent directory of where you've placed the.zvmdirectory.ZVM_SKIP_TLS_VERIFYDo you have problems using TLS in your environment? Toggle off verifying TLS by setting this environment variable.- By default when this is enabled ZVM will print a warning. Set this variable
to
no-warnto silence this warning.
- By default when this is enabled ZVM will print a warning. Set this variable
to
ZVM_TARGET_OSoverrides the OS ZVM downloads binaries for. Equivalent to the--target-osflag. Case-insensitive; accepts Go-style (linux,darwin) or Zig-style (linux,macos) names. See Cross-target installs.ZVM_TARGET_ARCHoverrides the CPU architecture ZVM downloads binaries for. Equivalent to--target-arch. Case-insensitive; acceptsamd64/x86_64andarm64/aarch64.ZVM_HTTP_TIMEOUTsets the HTTP timeout in seconds. Equivalent to the--http.timeoutinstall flag.BROWSERselects the command used byzvm bugto open a report URL.
Option Flags
Color Toggle
Enable or disable colored ZVM output. No value toggles colors.
Enable
- on
- yes/y
- enabled
- true
Disabled
- off
- no/n
- disabled
- false
--color # Toggle ANSI color printing on or off for ZVM's output, i.e. --color=true