pnpm Install and Dependencies/Install workspace package via protocol

Link a workspace package using the workspace protocol.

Section: Versions and Sources

Install workspace package via protocol

bash
bash
pnpm add @acme/ui@workspace:*
Explanation

Link a workspace package using the workspace protocol.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Versions and Sources
Install dist-tag
Install a package using a registry dist-tag.
OpenIn sheetbashsame section
Install exact version
Install a specific version.
OpenIn sheetbashsame section
Install version range
Install a version range.
OpenIn sheetbashsame section
Install tarball URL
Install a package from a tarball URL.
OpenIn sheetbashsame section
Install from Git repo
Install a package directly from a Git-hosted repository.
OpenIn sheetbashsame section
Install local folder
Install from a local directory path.
OpenIn sheetbashsame section