Files
tldr/pages.ru/windows/nvm.md

22 lines
860 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# nvm
> Установка, удаление и переключение между версиями Node.js.
> Поддерживает номера версий вроде "12.8" or "v16.13.1", метки вроде "stable", "system", и т.д.
> Больше информации: <https://github.com/coreybutler/nvm-windows>.
- Установить заданную версию Node.js:
`nvm install {{версия_node}}`
- Задать версию Node.js по умолчанию (требуется запускать из-под Администратора):
`nvm use {{версия_node}}`
- Вывести список всех доступных версий Node.js и подсветить версию по умолчанию:
`nvm list`
- Удалить указанную версию Node.js:
`nvm uninstall {{версия_node}}`