检查是否安装node js 和nmp

在cmd  命令窗口下

 输入 

node -v

npm -v



如图:


如上图显示,恭喜你按装成功。接下来就可以进行angular4的学习了


附:

npm 自动升级到新版本:


npm install -g npm