Skip to content

Commit d63fd5f

Browse files
authored
Merge pull request #182 from MicrosoftDocs/main
1/7/2025 PM Publish
2 parents 7d3d37e + 409232f commit d63fd5f

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

powershell-gallery/docs-conceptual/how-to/working-with-packages/manual-download.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Describes how to manually download a package from the PowerShell Gallery.
3-
ms.date: 11/16/2022
3+
ms.date: 01/07/2025
44
title: Manual Package Download
55
---
66

@@ -19,15 +19,15 @@ can then copy to an internal repository.
1919

2020
Each 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

2424
To download manually, click on **Download the raw nupkg file**. A copy of the package is copied to
2525
the download folder for your browser with the name `<name>.<version>.nupkg`.
2626

2727
A NuGet package is a ZIP archive with extra files containing information about the contents of the
2828
package. Some browsers, like Internet Explorer, automatically replace the `.nupkg` file extension
2929
with `.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

3232
A NuGet package file includes the following **NuGet-specific elements** that aren't part of the
3333
original packaged code:
@@ -45,8 +45,8 @@ original packaged code:
4545
> Some steps performed by `Install-Module` aren't included.
4646
4747
The 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

5151
The steps are as follows:
5252

@@ -81,9 +81,13 @@ The steps are as follows:
8181
1. The `.PS1` file in the folder can be used directly from this location.
8282
1. 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

Comments
 (0)