The Diagnostics CLI now includes an installation script which can be used to install and run the CLI with a single command on Linux and Windows.
To get started, head over to the Diagnostics CLI Output app. Additional details can be found in the Run the Diagnostics CLI documentation.