HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

Set-NodeInstallLocation — Set the default Node.js installation directory for `ps-nvm`. This command is part of `ps-nvm` and ca

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandnodeset-nodeinstalllocationinstallationclisetdefault

Problem

How to use the Set-NodeInstallLocation command: Set the default Node.js installation directory for ps-nvm. This command is part of ps-nvm and can only be run under PowerShell. More information: <https://github.com/aaronpowell/ps-nvm>.

Solution

Set-NodeInstallLocation — Set the default Node.js installation directory for ps-nvm. This command is part of ps-nvm and can only be run under PowerShell. More information: <https://github.com/aaronpowell/ps-nvm>.

Change the Node.js install location to a specified directory (ps-nvm will create a new .nvm subdirectory to install them):
Set-NodeInstallLocation {{path/to/directory}}

Code Snippets

Change the Node.js install location to a specified directory (`ps-nvm` will create a new `.nvm` subdirectory to install them)

Set-NodeInstallLocation {{path/to/directory}}

Context

tldr-pages: common/Set-NodeInstallLocation

Revisions (0)

No revisions yet.