Files
cheatsheet-tldr/tldr/set-nodeinstalllocation

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}}`