标签:
1.安装Node.js,到https://nodejs.org/下载安装

2.安装Chocolatey,https://chocolatey.org/,先看一下关于chocolatey的介绍:

安装方法,先打开Powershell:

然后通过下面方式修改执行策略
Set-ExecutionPolicy unrestricted

然后通过下面的命令安装Chocolatey:
iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1‘))

安装结束后,可以运行choco命令了:

3.安装JDK7,通过上面的Chocolatey,我们就能在命令提示符中安装了。安装过程中出现下面错误:

修改环境变量:

标签:
原文地址:http://www.cnblogs.com/zhongxinWang/p/4329035.html