Command Line

The Command Line gives most flexibility by allowing the execution of GitVersion to be customized . Read more about how to install and use the CLI in the sections linked below.

Installation How to install the GitVersion Command Line Interface
Arguments The supported arguments of the GitVersion Command Line Interface
CLI schema Discover GitVersion commands and options using OpenCLI
Use version output Read version variables in scripts and pass them to builds.
Assembly Patching Read more about how GitVersion can patch the version number into your assemblies
Telemetry Optional sampled CLI usage collection, controls and privacy
Telemetry policy and collected data GitVersion CLI telemetry purpose, exact data fields, opt-outs, first-run notice and retention