GitVersion.CommandLine
5.8.1
Install-Package GitVersion.CommandLine -Version 5.8.1
dotnet add package GitVersion.CommandLine --version 5.8.1
<PackageReference Include="GitVersion.CommandLine" Version="5.8.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GitVersion.CommandLine --version 5.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GitVersion.CommandLine, 5.8.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GitVersion.CommandLine as a Cake Addin
#addin nuget:?package=GitVersion.CommandLine&version=5.8.1
// Install GitVersion.CommandLine as a Cake Tool
#tool nuget:?package=GitVersion.CommandLine&version=5.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Versioning when using Git, solved. GitVersion looks at your git history and works out the Semantic Version of the commit being built.
| Artifact | Stable | |
|---|---|---|
| GitVersion.Tool | ||
| GitVersion.CommandLine | ||
| GitVersion.MsBuild | Known as GitVersionTask before v5.6.0 |
Compatibility
GitVersion works on Windows, Linux, and Mac.
Quick Links
GitVersion in action!

You are seeing:
- Pull requests being built as pre-release builds
- A branch called
release-1.0.0producing beta v1 packages
Icon
Tree designed by David Chapman from The Noun Project.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.