nmbl Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

version - Print Tool Version

Overview

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.

Syntax

nmbl version

Arguments

None.

Output

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.

Exit Codes

Code Meaning
0 Always — the command does not produce an error exit code.

Examples

nmbl version

Example output:

nmbl version 1.4.2+abc1234

Include in a build log

# Capture version for traceability
nmbl version >> build.log

Check version in a script

# Verify a minimum version is installed before running analysis
VERSION=$(nmbl version)
echo "Using $VERSION"
  • whoami - Check authentication status
  • login - Authenticate with OAuth