tldr/pages/common/set-nodeinstalllocation.md

10 lines
403 B
Markdown
Raw Normal View History

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