How can the default node version be set using NVM?

后端 未结 5 986
执笔经年
执笔经年 2020-12-04 07:48

I have installed nvm (ubuntu with zsh shell) with two node version: v6.11.5 and v9.0.0 and the default version in nvm is the v9.0.0

Every time I need to change the

5条回答
  •  执笔经年
    2020-12-04 08:12

    (nvm maintainer here)

    nvm alias default 6.11.5 if you want it pegged to that specific version.

    You can also do nvm alias default 6.

    Either way, you'll want to upgrade to the latest version of nvm (v0.33.11 as of this writing)

提交回复
热议问题