Install a package using a registry dist-tag.
Section: Versions and Sources
Install dist-tag
bash
bash
pnpm add react@nextExplanation
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 from Git repo
Install a package directly from a Git-hosted repository.
Install workspace package via protocol
Link a workspace package using the workspace protocol.