Install a specific version.
Section: Versions and Sources
Install exact version
bash
bash
pnpm add react@18.3.1Explanation
Install a specific version.
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.