version - Print Tool Version
The version command prints the version of the installed nmbl tool to the console. Use it to confirm which version is active, to record version information in logs, or to troubleshoot version-related issues.
nmbl version
None.
Prints a single line of the form:
nmbl version <version>
The version string is read from the assembly’s AssemblyInformationalVersionAttribute. If that attribute is not present, the AssemblyName.Version is used instead. If neither is available, the string Unknown is printed.
| Code | Meaning |
|---|---|
| 0 | Always — the command does not produce an error exit code. |
nmbl version
Example output:
nmbl version 1.4.2+abc1234
# Capture version for traceability
nmbl version >> build.log
# Verify a minimum version is installed before running analysis
VERSION=$(nmbl version)
echo "Using $VERSION"