11---
22description : Describes how to manually download a package from the PowerShell Gallery.
3- ms.date : 11/16/2022
3+ ms.date : 01/07/2025
44title : Manual Package Download
55---
66
@@ -19,15 +19,15 @@ can then copy to an internal repository.
1919
2020Each page has a link for Manual Download, as shown here:
2121
22- ![ Package display page with install options] ( media/manual-download/packagedisplaypagewithpseditions.png )
22+ ![ Package display page with install options] [ 02 ]
2323
2424To download manually, click on ** Download the raw nupkg file** . A copy of the package is copied to
2525the download folder for your browser with the name ` <name>.<version>.nupkg ` .
2626
2727A NuGet package is a ZIP archive with extra files containing information about the contents of the
2828package. Some browsers, like Internet Explorer, automatically replace the ` .nupkg ` file extension
2929with ` .zip ` . To expand the package, rename the ` .nupkg ` file to ` .zip ` , if needed, then extract the
30- contents to a local folder.
30+ contents to a local folder using ` Expand-Archive ` or some other ZIP file tool .
3131
3232A NuGet package file includes the following ** NuGet-specific elements** that aren't part of the
3333original packaged code:
@@ -45,8 +45,8 @@ original packaged code:
4545> Some steps performed by ` Install-Module ` aren't included.
4646
4747The easiest approach is to remove the NuGet-specific elements from the folder. Removing the elements
48- leaves the PowerShell code created by the package author.
49- For the list of NuGet-specific elements, see [ Using manual download to acquire a package] ( #using-manual-download-to-acquire-a-package ) .
48+ leaves the PowerShell code created by the package author. For the list of NuGet-specific elements,
49+ see [ Using manual download to acquire a package] [ 01 ] .
5050
5151The steps are as follows:
5252
@@ -81,9 +81,13 @@ The steps are as follows:
81811 . The ` .PS1 ` file in the folder can be used directly from this location.
82821 . You may delete the NuGet-specific elements in the folder.
8383
84- For the list of NuGet-specific elements, see [ Using manual download to acquire a package] ( #using-manual-download-to-acquire-a-package ) .
84+ For the list of NuGet-specific elements, see [ Using manual download to acquire a package] [ 01 ] .
8585
8686> [ !IMPORTANT]
8787> The manual download doesn't include any dependencies required by the module. If the package has
8888> dependencies, they must be installed on the system for this module to work correctly. The
8989> PowerShell Gallery shows all dependencies required by the package.
90+
91+ <!-- link references -->
92+ [ 01 ] : #using-manual-download-to-acquire-a-package
93+ [ 02 ] : media/manual-download/packagedisplaypagewithpseditions.png
0 commit comments