und is the command-line interface to Understand — script project creation, analysis, CodeCheck, metrics, and reports, locally or in CI.
Run Understand from the command line · Headless workflow: create, analyze, check, report
Licensing
configure and query the Understand license from the command line
Understand licensing is configured and queried with the license command: und license shows the current license, und license -setlicensecode CODE saves and activates a code, and the other options cover the license server, offline activation and node-locked licenses (und help license). The options are also accepted without the license command, as in earlier versions (und -setlicensecode CODE).
Environment variables
The license can also be configured entirely through the environment, which takes precedence over the saved configuration. This is useful for CI, containers, and shared machines.
| Option | Description |
|---|---|
UNDERSTAND_LICENSE_CODE | Use this license code instead of the saved one. |
UNDERSTAND_LICENSE_SERVER | Use this license server instead of the saved one. |