Skip to content

Commit

Permalink
docs: unlink improvements (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoaldamav authored Aug 8, 2023
1 parent 9ec44a1 commit 14d8b94
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/cli/unlink.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ title: pnpm unlink

Unlinks a system-wide package (inverse of [`pnpm link`](./link.md)).

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

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

:::info
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
Expand Down

0 comments on commit 14d8b94

Please sign in to comment.