High Level Flow Diagram

August 27, 2016 · View on GitHub

Let's take PowerShell package as an example. Here is the flow diagram when you type "Find-Package PowerShell".

find-package

The flow diagram when you type "Install-Package PowerShell".

install-package

Where Packages installed to?

Package TypeInstall Location
msiDefault path, i.e., a particular .msi package decides.
Whether admin privilege is required depends on a particular package.
exeDefault path, i.e., a particular .exe package decides.
Whether admin privilege is required depends on a particular package.
PowerShell modulesWell-known PowerShell module install location
nupkgDefault location:
env:programfiles\NuGet\Packages <br>env:programfiles\NuGet\Packages\ <br> env:userprofile\NuGet\Packages\ 
User can also specify the destination path in the json file if they want to install packages to different folder.
Zipzip packages are installed under Destination\PackageName\PackageVersion. "Destination" is defined in json file. It's required.