root/.profilenpm info using npm@3.10.10=> Installing Node.js version 6.9.5
Downloading and installing node v6.9.5...Downloading https://nodejs.org/dist/v6
Deployment Script:: ----------------------
:: -------------
where node 2>nul >nul echo Missing node.js executable, please installnode.js, if already installed make sure it can
我正在尝试在bash配置文件中添加一些将我的节点版本设置为特定版本的内容,如果没有安装节点版本,那么就安装它。到目前为止,我得到的是:if [[ $(nvm use v6.9.1) == "" ]]; thenfi( a)在当前的shell中是否有运行$(nvm use v6.9.1)的方法?以前,我只是运行nvm install v