Add a package to dependencies.
Section: Install, Add, Remove, Update
Add dependency
bash
bash
pnpm add lodashExplanation
Add a package to dependencies.
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 Install, Add, Remove, Update