pnpm unlink <Package...> <filepaths>

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

Arguments

NameDescription
Package
filepathsfilepaths

Options

NameDescription
--recursive, -rUnlink in every package found in subdirectories or in every workspace package, when executed inside a workspace
--filter <Filepath / Package>Filtering allows you to restrict commands to specific subsets of packages. pnpm supports a rich selector syntax for picking packages by name or by relation. More details: https://pnpm.io/filtering