Skip to content

Instantly share code, notes, and snippets.

@madrus
Created May 16, 2022 05:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madrus/8219bece03a96853ae136f71aacc3287 to your computer and use it in GitHub Desktop.
Save madrus/8219bece03a96853ae136f71aacc3287 to your computer and use it in GitHub Desktop.
Tasks: set node and npm versions via nvm
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "NVM: set Node and NPM versions",
"type": "shell",
"command": "nvm use 14",
"windows": {
"command": "nvm use 14"
},
"group": "none",
"presentation": {
"reveal": "silent",
"panel": "new",
"close": true
},
"runOptions": {
"runOn": "folderOpen"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment