ECMAScript Cookbook
上QQ阅读APP看书,第一时间看更新

There's more...

If we have also installed version v9.6.1, we would use the following command to set it as the default:

    nvm alias default 9.6.1 

Now when we open a new shell, v9.6.1 will be the Node.js version in use.