This learned some knowledge of node.js, node.js is really powerful! But it is also very complicated to configure, read some articles, and he wrote a program to practice hand, write down deepen their own impression.
Installation node.js
(1) installation nodejs, modify the installation path (no spaces!)
The installation path from: C: Program Filesnodejs \
modify read: C: nodejs \
(2) the Git installed, the default (closing eyes, the next step)
(3) Test the installation nodejs success:
<Win>+<R>, cmd, <Enter> 打开命令行:
node -v 检查是否安装node
npm -v检查是否安装npm
git检查是否安装git
(4) mounted global smart-npm
npm install --global smart-npm
或:npm i -g smart-npm
(5) global http-server installation
snpm i -g http-server
http-server -p 80
(6) Global Installation bower
snpm i -g bower
(7) Finally, enter bower -v appear 1.8.0 is installed successfully