I'm trying to install Lucene.net CLI
When I run the command dotnet tool install lucene-cli -g --version [EnvVar:LuceneNetVersion] I get an error: Specified version '[EnvVar:LuceneNetVersion]' is not a valid NuGet version range.
When I run the command dotnet --list-runtimes, I find that I have Microsoft.NETCore.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] while the prequisite is .NET Core 3.1.0 Runtime. I suppose that it's compatible, but I'm not sure.
I don't know how to fix this.