[Tools] Install and Manage Node.js Versions with nvm

It can be difficult to work on multiple projects that use different versions of Node.

nvm (Node Version Manger) make this easier by allowing you to download multiple versions and switch between them. You can also add a NVM configuration file (i.e. .nvmrc) to specify which version you want to use for each project.

 

Create .nvmrc:

lts/erbium // v12

// or just list the version you want to use

5.12.0

 

Then just run:

nvm use

 

[Tools] Install and Manage Node.js Versions with nvm

上一篇:vue-resource.js POST提交后返回主键,赋值成功后控件里的值却不改变(已解决)


下一篇:树莓派-基于raspivid实现拍视频