scitools.com

← All und commands

und is the command-line interface to Understand — script project creation, analysis, CodeCheck, metrics, and reports, locally or in CI.

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.

OptionDescription
UNDERSTAND_LICENSE_CODEUse this license code instead of the saved one.
UNDERSTAND_LICENSE_SERVERUse this license server instead of the saved one.