> ## Documentation Index
> Fetch the complete documentation index at: https://flowdeck.studio/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage Swift Packages

> Resolve, update, and clean Swift Package dependencies

Open **Swift Packages** from Project Tools (`P`) to manage dependencies:

| Option                      | Action                                                                |
| --------------------------- | --------------------------------------------------------------------- |
| **List Installed Packages** | Display all resolved packages and versions for the current project.   |
| **Add Swift Package**       | Add a package by URL and version rule, then select products to link.  |
| **Resolve Packages**        | Re-resolve dependencies based on `Package.resolved`.                  |
| **Update Packages**         | Pull the latest compatible versions and refresh `Package.resolved`.   |
| **Clear Package Cache**     | Remove cached package artifacts from DerivedData to fix stale builds. |
