Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.07 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.07 KB

auto-nvm

A vscode extension that simplifies node version management.

Features

  • Automatically switch node version according to .nvmrc.
  • Use Use Node Version command to manually switch node versions.
  • Use Node Version command provides an "install others" option to install specified Node.js version manually.

Requirements

  • To be able to pick different node versions, you must have installed nvm and used it to manage the node environment.
  • to take nvm use command effect on terminal startup, you must have a .nvmrc file in the project.

Usage

Automatically switch node version

As long as the requirements are met, nvm use command will be automatically executed when the terminal is created and switch to the node version configured in .nvmrc.

Use Node Version

  • Open the command palette (Ctrl+Shift+P on Windows and Linux, Cmd+Shift+P on OS X) and search for Use Node Version.
  • Enter the specified node version in the input box.
  • the extension will be automatically execute nvm use command in terminals.

Enjoy!