'Where are dotnet tool versions defined?

How is are dotnet tools versioned and where is that version number set in code?

The latest version of this dotnet tool is 1.7.0 https://github.com/tonerdo/coverlet

Where is 1.7.0 defined? I don't see it anywhere and it's not the assembly version.

I want to install an older version but I can't find any dotnet commands that list previous versions of a tool.

Specifically, I need a version of coverlet that supports netcoreapp2.1



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source