.NET core global tool to download nuget packages in to a directory without any project
Useful to manage dependencies for C# / F# script files that can be executed via REPL
The dotnet-grab
nuget package is published to nuget.org
You can get the tool by running this command
$ dotnet tool install -g dotnet-grab
Usage: grab [packages...]
packages:
list of packages names (@ optional versions) to download
Ex:
grab newtonsoft.json [email protected] [email protected]
newtonsoft.json @ 12.0.3 - downloaded
newtonsoft.json @ 6.0.7 - downloaded
entityframework @ 6.2.0 - downloaded
packages are saved under 'packages' in current directory