Install a package using a registry dist-tag.

Section: Versions and Sources

Install dist-tag

bash
bash
pnpm add react@next
Explanation

Install a package using a registry dist-tag.

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 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
Install workspace package via protocol
Link a workspace package using the workspace protocol.
OpenIn sheetbashsame section