LinuxCommandLibrary

ps-nvm

Node.js version manager for PowerShell

TLDR

List Node versions (PowerShell)

$ ps-nvm list
copy
Install Node version
$ ps-nvm install [18.0.0]
copy
Use specific version
$ ps-nvm use [18.0.0]
copy
Set default version
$ ps-nvm default [18.0.0]
copy

SYNOPSIS

ps-nvm command [version]

DESCRIPTION

ps-nvm is a Node.js version manager designed natively for PowerShell on Windows. It allows installing, switching between, and managing multiple Node.js versions on a single system, similar to nvm on Unix but built specifically for the PowerShell environment.
The tool downloads and manages Node.js binaries, adjusting the system PATH to point to the selected version. A default version can be set to persist across new PowerShell sessions.

PARAMETERS

list

List installed versions.
install VERSION
Install Node version.
use VERSION
Switch to version.
default VERSION
Set default version.
uninstall VERSION
Remove version.

CAVEATS

PowerShell only. Windows alternative to nvm.

HISTORY

ps-nvm was created for PowerShell Node.js version management.

SEE ALSO

nvm(1), node(1), volta(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community