How to display the installed dotnet new template version numbers

There are two ways to get template version.

First, you can use the documented command

dotnet new -u

enter image description here

Second, you can use the following command:

dotnet new --debug:showconfig

which will show you all installed templates with their version number.

enter image description here


[update - note that this post is now over 2 years old, and the tooling appears to have gotten much better] The best I seem to come up with is to look in

C:\Users\BozoJoe\.templateengine\dotnetcli\v2.1.104\packages

which has the nupkgs with the version numbers in the file names (as well as the nupkg zips)