Useful Links
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
  1. Computer Science
  2. 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
  1. Managing Dependencies
    1. Adding Dependencies
      1. Adding Regular Dependencies
        1. pnpm add command
        2. Development Dependencies
          1. --save-dev flag
            1. -D flag
            2. Optional Dependencies
              1. --save-optional flag
                1. -O flag
                2. Peer Dependencies
                  1. --save-peer flag
                  2. Global Dependencies
                    1. --global flag
                      1. -g flag
                      2. Installing Specific Versions
                        1. Version Ranges
                          1. Tags
                            1. latest tag
                              1. next tag
                                1. beta tag
                                2. Git URLs
                              2. Updating Dependencies
                                1. Updating All Packages
                                  1. pnpm update
                                  2. Interactive Upgrades
                                    1. pnpm up --interactive
                                    2. Updating a Single Package
                                      1. Specifying Package Name
                                        1. Updating to Latest Version
                                          1. Updating to Specific Version
                                          2. Handling Breaking Changes
                                          3. Removing Dependencies
                                            1. Removing a Single Package
                                              1. pnpm remove command
                                              2. Removing Multiple Packages
                                                1. Cleaning Up Unused Dependencies
                                                2. Listing Dependencies
                                                  1. Listing Installed Packages
                                                    1. pnpm list
                                                      1. pnpm ls
                                                      2. Viewing the Dependency Tree
                                                        1. Tree Structure Output
                                                          1. Filtering by Depth
                                                          2. Listing Global Packages

                                                        Previous

                                                        3. Getting Started

                                                        Go to top

                                                        Next

                                                        5. Running Scripts and Executing Binaries

                                                        © 2025 Useful Links. All rights reserved.

                                                        About•Bluesky•X.com