mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
496 B
Plaintext
15 lines
496 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|