Skip to content

A vscode extension that simplifies node version management.

License

Notifications You must be signed in to change notification settings

dulaoban925/auto-nvm

Repository files navigation

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!

About

A vscode extension that simplifies node version management.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published