pnpm package manager

pnpm package manager

TIL

pnpm is an alternative to either npm or yarn

How does it work?

Rather than installing a node_modules package for every project, it sets up a local store on your machine.
For instance, any project that may use vite will draw from the same source.
pnpm then creates links to individual directories that need access to those files. But you’re only installing them once on your machine.

Commands
    Install the app (packages) locally
      pnpm install
        Run local server
          pnpm run dev
            Build for production
              pnpm run build
                Preview build
                  pnpm run preview


                  pnpm docs:



                  Source:





                  Comments

                  Popular Posts