LinuxCommandLibrary

remove-nodeversion

Uninstall Node.js runtime versions for `ps-nvm`.

TLDR

Uninstall a given Node.js version

$ Remove-NodeVersion [node_version]
copy


Uninstall multiple Node.js versions
$ Remove-NodeVersion [node_version1 , node_version2 , ...]
copy


Uninstall all currently-installed versions of Node.js 20.x
$ Get-NodeVersions -Filter ">=20.0.0 <21.0.0" | Remove-NodeVersion
copy


Uninstall all currently-installed versions of Node.js
$ Get-NodeVersions | Remove-NodeVersion
copy

Copied to clipboard