We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
重启电脑,等待更新。
CMD中输入:
bash # 或 lxrun /install /y
等待安装完毕,以后在CMD中输入bash,即可进入linux子系统
bash
在CMD中通过bash进入linux
安装nvm:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
nvm install stable # 等待安装完毕后,激活该版本: nvm use stable
sudo ln -s $(which node) /usr/bin/node sudo ln -s $(which npm) /usr/bin/npm
至此完成linux和node的安装。
The text was updated successfully, but these errors were encountered:
这么牛。。。。
Sorry, something went wrong.
貌似我在安装的时候,提示了zsh: command not found: nvm。 解决方案: bird.so后,发现还需要执行如下命令. ~/.nvm/nvm.sh
zsh: command not found: nvm
. ~/.nvm/nvm.sh
解决方案:
确认以下路径已添加到~/.zshrc:
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
用了半年的 WSL,最近要使用 vue 开发单页应用,老是在打包的时候卡住不动。换了 git bash ,40s就打包完了。。。日常开发的时候挺爽的,编译的时候可能差点
厉害了。。用上了,谢谢楼主
No branches or pull requests
开启Windows 10的Linux子系统
重启电脑,等待更新。
CMD中输入:
bash # 或 lxrun /install /y
等待安装完毕,以后在CMD中输入
bash
,即可进入linux子系统安装node环境(通过nvm)
在CMD中通过
bash
进入linux安装nvm:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
nvm install stable # 等待安装完毕后,激活该版本: nvm use stable
至此完成linux和node的安装。
The text was updated successfully, but these errors were encountered: