xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

NVM

NVM

https://github.com/xyz-data/RAIO/issues/242#issuecomment-347425411

image

https://zhuanlan.zhihu.com/p/22493707

change nvm default version

$ nvm alias default 16.14.2

$ nvm alias default 16
      
$ nvm -h

$ nvm ls-remote    

$ nvm install 16.14.2

# 永久修改默认值
$ nvm alias default 16.14.2

# 临时使用一次
$ nvm use 16.14.2

https://stackoverflow.com/questions/47190861/how-can-the-default-node-version-be-set-using-nvm

https://www.cnblogs.com/xgqfrms/tag/nvm/

demo


# 永久修改默认值
$ nvm alias default 16.14.2
      
➜  ~ node -v
v16.14.2
➜  ~ which node
/Users/xgqfrms-mbp/.nvm/versions/node/v16.14.2/bin/node

https://www.cnblogs.com/xgqfrms/p/16163300.html

refs



©xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2018-09-14 13:47  xgqfrms  阅读(40)  评论(0编辑  收藏  举报