Version command

The version command outputs the current version of the CLI that you have installed on your local system:

You can also pass a flag/option to each command in the CLI and you can find the options that a command takes by running the --help flag:

There is only one option we can pass to the version command, which is -h, --help as this is a very simple command.

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.