---
title: PNPM Store Prune
description: Removes unreferenced packages from the store.
date: 2023-10-25
published: true
tags:
  - pnpm
  - storage
---

There's a way to easily clean up pnpm store, especially for unreferenced packages.

```bash
pnpm store prune
```

References: https://pnpm.io/cli/store#prune
