Forrest logo
back to the pnpm tool

pnpm:packages:remove

Uninstall a package and remove it from the list of dependencies in `package.json`.
$ pnpm remove ${module_name}
try on your machine

This command removes a module specified by ${module_name} from a project that is using pnpm as its package manager. pnpm is a package manager for Node.js applications that manages dependencies and installs packages in a way that minimizes duplication of dependencies. The "remove" command removes a specified module from the project and updates the project's package.json file to reflect the change and remove the dependency.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pnpm tool