Skip to main content
Version: 6.x

pnpm unlink

Unlinks a system-wide package (inverse of pnpm link).

If called without arguments, all linked dependencies will be unlinked.

This is similar to yarn unlink, except pnpm re-installs the dependency after removing the external link.

Options

--recursive, -r

Unlink in every package found in subdirectories or in every workspace package, when executed inside a workspace.

--filter <package_selector>

Read more about filtering.