The command “dotnet tool install -g VirtoCommerce.GlobalTool” brings up error message in console

If you get this error, when installing Virto Commerce CLI

The command “dotnet tool install -g VirtoCommerce.GlobalTool” brings up the following error message in console (auto translated as the original error message is output in german language):

C:\Users\JDI\AppData\Local\Temp\2e0ry2zn.kix\restore.csproj : error NU1100: “virtocommerce.globaltool (>= 0.0.0)” cannot be resolved for “net6.0”.

C:\Users\JDI\AppData\Local\Temp\2e0ry2zn.kix\restore.csproj : error NU1100: “virtocommerce.globaltool (>= 0.0.0)” cannot be resolved for “net6.0/any”.

The tool package could not be recovered.

Error installing the “virtocommerce.globaltool” tool. This error can be caused by the following:

you can try to use command with direct source link on nuget server

dotnet tool install -g virtocommerce.globaltool --add-source https://api.nuget.org/v3/index.json

Q: I am running into an issue trying to run vc-build compress. I am running the command as an Admin.

A: This was due to anti-virus blocking vc-tools. Once I allowed that through AV, the compress worked as expected.