vp unlink
Remove native package-manager links created for local development.
bash
vp unlink my-libraryOptions
An optional package name or directory is forwarded to the manager. -r, --recursive requests unlinking across workspaces where supported.
| Option | Description | Notes |
|---|---|---|
-r, --recursive | Unlink in every workspace package. |
Compatibility
- npm:
npm unlink. - pnpm:
pnpm unlink. - Yarn Classic:
yarn unlink. - Yarn Modern: 3 or later:
yarn unlink. Yarn 2 fails natively. - Bun:
bun unlink.
| Option | npm | pnpm | Yarn Classic | Yarn Modern | Bun | Notes |
|---|---|---|---|---|---|---|
-r, --recursive | Yes | Yes | No | 3 or later | No | npm includes the workspace root. |
Vite+ forwards a basic unlink request to the selected manager, so unsupported native versions can fail. Operand and manifest-update behavior follow the native manager. This does not remove packages from Vite+'s global store.
Native Options
For native options, see npm unlink, pnpm unlink, Yarn unlink, Yarn Classic unlink, and Bun unlink. To pass these options through Vite+, see Native Arguments.