下载casperjs,解压后命名为casperjs 添加环境变量: path:D:\anzhuang\casperjs\bin cmd中输入:casperjs -version 输出 版本信息表示安装成功