---
title: packageManager
framework: swift-package-manager
role: symbol
role_heading: Instance Property
path: swift-package-manager/documentation/packageplugin/commandplugin/packagemanager
---

# packageManager

A proxy to the Swift Package Manager or IDE hosting the command plugin, through which the plugin can ask for specialized information or actions.

## Declaration

```swift
var packageManager: PackageManager { get }
```
