Useful Links
Computer Science
Other Tools and Technologies
pnpm Package Manager
1. Introduction to pnpm
2. Core Concepts and Architecture
3. Getting Started
4. Managing Dependencies
5. Running Scripts and Executing Binaries
6. Workspaces and Monorepos
7. Configuration
8. Advanced Features and Commands
9. Lockfiles and Dependency Management
10. Performance and Optimization
11. Troubleshooting and Debugging
12. Comparison and Migration
13. Integration with Development Tools
14. Framework and Tool Integration
15. Security and Auditing
16. Publishing and Distribution
Managing Dependencies
Adding Dependencies
Adding Regular Dependencies
pnpm add command
Development Dependencies
--save-dev flag
-D flag
Optional Dependencies
--save-optional flag
-O flag
Peer Dependencies
--save-peer flag
Global Dependencies
--global flag
-g flag
Installing Specific Versions
Version Ranges
Tags
latest tag
next tag
beta tag
Git URLs
Updating Dependencies
Updating All Packages
pnpm update
Interactive Upgrades
pnpm up --interactive
Updating a Single Package
Specifying Package Name
Updating to Latest Version
Updating to Specific Version
Handling Breaking Changes
Removing Dependencies
Removing a Single Package
pnpm remove command
Removing Multiple Packages
Cleaning Up Unused Dependencies
Listing Dependencies
Listing Installed Packages
pnpm list
pnpm ls
Viewing the Dependency Tree
Tree Structure Output
Filtering by Depth
Listing Global Packages
Previous
3. Getting Started
Go to top
Next
5. Running Scripts and Executing Binaries