Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cspell.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"words": [
"anypackage",
"Avalonia",
"Defaultv",
"netstandard",
"Nieto",
Expand Down
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,39 @@ Import-Module AnyPackage.NuGet
```powershell
Find-Package -Name System.Management.Automation
```

### Get installed packages

Gets installed packages from the NuGet global packages directory.

```powershell
Get-Package
```

### Install packages

Installs packages to the NuGet global packages directory.

```powershell
Install-Package -Name System.Management.Automation
```

### Install packages with specified framework

```powershell
Install-Package -Name Avalonia -Provider NuGet -Framework netstandard2.0
```

### Install packages with dependency behavior

```powershell
Install-Package -Name Avalonia -Provider NuGet -DependencyBehavior Highest
```

### Save packages

Saves packages to a directory.

```powershell
Save-Package -Name System.Management.Automation -Path C:\Temp
```