Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Installing **global** nuget tool from **local file** (nupkg) without visual studio using cmd or powershell

$
0
0

I'm trying install dotnet-ef tools. For some reason i have no access to nuget site from cli.

I successfully downloaded nupkg file so its in my C:\Downloads folder as dotnet-ef.9.0.0-preview.3.24172.4.nupkg.

I found no ways to install it.

Here some commands, that don't work:

Install-Package SomePackage -Source C:\Downloads\dotnet-ef.9.0.0-preview.3.24172.4.nupkg

...uses for local packages from NuGet.

Install-Package C:\Downloads\dotnet-ef.9.0.0-preview.3.24172.4.nupkg

...do nothing:

PS C:\Windows\system32> Install-Package C:\Downloads\dotnet-ef.9.0.0-preview.3.24172.4.nupkgPS C:\Windows\system32>

Thanks!


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>