NuGET( .NET ): download JsonFx package using CMD

Trabla: NuGET( .NET ):  example downloading  JsonFx package  using  Windows command line and nuget.exe ( without Visual Studio )



NuGET download  JsonFx package using CMD - tutorial screenshot 1


NuGet is a free and open-source package manager for the Microsoft development platform (formerly known as NuPack).Since its introduction in 2010, NuGet has evolved into a larger ecosystem of tools and services.
https://en.wikipedia.org/wiki/NuGet


This tutorial explains how fast and easy download JsonFx DLLs  only in few steps.

Solving:

1. Download nuget.exe from here: https://dist.nuget.org/index.html

NuGET download  JsonFx package using CMD - tutorial screenshot 2

2. Open folder with downloaded nuget.exe file

NuGET download  JsonFx package using CMD - tutorial screenshot 3

3. Run windows command line console and type
<PATH_TO_NUGET.EXE>  install  <PACKAGE_NAME>
+ press enter

Example:

C:\Users\samuraikit\Downloads\nuget.exe install JsonFx

NuGET download  JsonFx package using CMD - tutorial screenshot 4

4. You will see following console output:

NuGET download  JsonFx package using CMD - tutorial screenshot 5



C:\Users\samuraikit>C:\Users\samuraikit\Downloads\nuget.exe install JsonFx
Feeds used:
  https://api.nuget.org/v3/index.json

Attempting to gather dependencies information for package 'JsonFx.2.0.1209.2802'
 with respect to project 'C:\Users\samuraikit', targeting 'Any,Version=v0.0'
Attempting to resolve dependencies for package 'JsonFx.2.0.1209.2802' with Depen
dencyBehavior 'Lowest'
Resolving actions to install package 'JsonFx.2.0.1209.2802'
Resolved actions to install package 'JsonFx.2.0.1209.2802'
Adding package 'JsonFx.2.0.1209.2802' to folder 'C:\Users\samuraikit'
Added package 'JsonFx.2.0.1209.2802' to folder 'C:\Users\samuraikit'
Successfully installed 'JsonFx 2.0.1209.2802' to C:\Users\samuraikit


5. Check package files in folder 


NuGET download  JsonFx package using CMD - tutorial screenshot 6

Hooray :)

NuGET download  JsonFx package using CMD - tutorial screenshot 7



No comments:

Post a Comment