Remove a previously installed Node.js version.
Section: Environment and Node Runtime
Remove a Node version
bash
bash
pnpm env remove --global 20.11.1Explanation
Remove a previously installed Node.js version.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Environment and Node Runtime
List installed Node.js versions
Show Node versions installed by pnpm env.
Use a specific Node version
Install and activate a Node.js version globally through pnpm.
Print binary directory
Show the directory where pnpm-linked binaries live for the current project.
Print node_modules root
Show the root node_modules path for the current project.
CI install with frozen lockfile
Common CI install pattern that refuses lockfile changes.
Patch a dependency
Extract a dependency for local edits before creating a patch.