Installing pnpm
On Windows
Using PowerShell:
On POSIX systems
If you don’t have curl installed, you would like to use wget:
In a Docker container
Using npm
or
Using Homebrew
Using winget
To starts local dev server at localhost:3000
Production build
Background run server
To run pnpm
in the background using nohup
(Linux/macOS):
Stop server
Using lsof (If the Server Port is Known)
3000
is the port that started the server
Once you get the PID:
Updating pnpm
Uninstalling pnpm
Removing the pnpm CLI
If you used the standalone script to install pnpm, then you should be able to uninstall the pnpm CLI by removing the pnpm home directory: rm -rf $PNPM_HOME If you used npm to install pnpm, then you should use npm to uninstall pnpm: npm rm -g pnpm
Removing the global content-addressable store
If you used pnpm in non-primary disks, then you must run the above command in every disk, where pnpm was used. pnpm creates one store per disk.