Originally used for some time vscode, but still wanted to record it.
First, https://code.visualstudio.com/ download vscode, you can choose a different system.
After the download is good, direct installation, the default point has been going just fine.
Of course, also you need to download the installation package node: https: //nodejs.org/en/download/
Or downloaded to install their own look, very simple.
Open cmd, in the installation directory, node -v, if the installation is successful, there will be node version number.
In the installation directory, the establishment of "node_global" and "node_cache" two folders,
Then execute
config prefix the SET npm "D: \ Program Files \ nodejs \ node_global" npm config the SET Cache "D: \ Program Files \ nodejs \ node_cache"
these two commands.
Then add node environment variable added to the system environment variables NODE_PATH variables in the system, enter the path G: \ WorkSoft \ node \ node_modules , after the installation modules are mounted to the lower change path. On it执行npm install -g yarn这个命令,然后再跑到yarn的安装目录下执行
yarn config set registryhttps://registry.npm.taobao.org -g
yarn config set sass_binary_sitehttp://cdn.npm.taobao.org/dist/node-sass -g