メインコンテンツまでスキップ
Version: 8.x

pnpm unlink

システム全体から使用できるようにしたパッケージのリンクを解除します (pnpm linkの逆です) 。

If called without arguments, all linked dependencies will be unlinked inside the current project.

yarn unlinkと似ていますが、pnpmは外部リンクを削除したあと、依存関係を再インストールします。

情報

If you want to remove a link made with pnpm link --global <package>, you should use pnpm uninstall --global <package>. pnpm unlink only removes the links in your current directory.

Options

--recursive, -r

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

--filter <package_selector>

詳細についてはフィルタリングに関するドキュメントを参照してください。