version
Print the driverforge CLI version and, when a controller is selected, the Director
and Anvil Agent versions running on it.
Usage
driverforge version
With no controller selected, it prints just the CLI version.
--version
The conventional flag works too, printing the same CLI version line and nothing else:
driverforge --version
Unlike the subcommand, the flag never reaches out to a controller and skips
the CLI's first-run prompts and update check entirely, so it is safe for scripts and
shell prompts. Once you've
selected a controller (driverforge device select), version also
reaches that controller's Anvil Agent (best-effort) and reports:
- Controller: the controller's name
- Director: the Control4 Director (OS) version
- Anvil Agent: the agent version installed on the controller
- MAC: the controller's MAC address
If the controller can't be reached, that line reads unreachable; the CLI
version is always printed regardless.
Global flags
Every driverforge command also accepts these global flags: --verbose/-v, --project-dir, --no-tui, --no-update-check, and --help/-h. See the overview for details.