Add help note regarding the version of Node.js printed by balena version -a

Connects-to: #2068
Change-type: patch
This commit is contained in:
Paulo Castro 2020-10-20 22:02:53 +01:00
parent c245dc70c2
commit 0708608c7e
2 changed files with 10 additions and 2 deletions

View File

@ -1302,7 +1302,11 @@ show additional commands
## version
Display version information for balenaCLI and/or Node.js.
Display version information for balenaCLI and/or Node.js. Note that the
balenaCLI executable installers for Windows and macOS, and the standalone
zip packages, ship with a built-in copy of Node.js. In this case, the
reported version of Node.js regards this built-in copy, rather than any
other `node` engine that may also be available on the command prompt.
The --json option is recommended when scripting the output of this command,
because the JSON format is less likely to change and it better represents

View File

@ -34,7 +34,11 @@ export default class VersionCmd extends Command {
public static description = stripIndent`
Display version information for balenaCLI and/or Node.js.
Display version information for balenaCLI and/or Node.js.
Display version information for balenaCLI and/or Node.js. Note that the
balenaCLI executable installers for Windows and macOS, and the standalone
zip packages, ship with a built-in copy of Node.js. In this case, the
reported version of Node.js regards this built-in copy, rather than any
other \`node\` engine that may also be available on the command prompt.
The --json option is recommended when scripting the output of this command,
because the JSON format is less likely to change and it better represents