common/*: add ps-nvm commands (#11298)

* common/*: add ps-nvm commands

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Magrid <magrid0@proton.me>
This commit is contained in:
Reinhart Previano Koentjoro
2023-11-03 01:24:04 +07:00
committed by K.B.Dharun Krishna
parent 2fc6fe8a76
commit e3e3f0ef11
7 changed files with 131 additions and 0 deletions

29
pages/common/ps-nvm.md Normal file
View File

@@ -0,0 +1,29 @@
# ps-nvm
> PowerShell-based utility to manage multiple Node.js versions, inspired by `nvm`.
> This tool provides multiple commands that all can only be run through PowerShell.
> More information: <https://github.com/aaronpowell/ps-nvm>.
- View documentation for `Get-NodeInstallLocation`, a tool to get the current Node.js install location:
`tldr get-nodeinstalllocation`
- View documentation for `Get-NodeVersions`, a tool to list all available and currently-installed Node.js versions:
`tldr get-nodeversions`
- View documentation for `Install-NodeVersion`, a tool to install Node.js runtime versions:
`tldr get-nodeversion`
- View documentation for `Remove-NodeVersion`, a tool to uninstall an existing Node.js version:
`tldr remove-nodeversion`
- View documentation for `Set-NodeInstallLocation`, a tool to set the Node.js install location:
`tldr set-nodeinstalllocation`
- View documentation for `Set-NodeVersion`, a tool to set the default version of Node.js:
`tldr set-nodeversion`