使用 npm install -g weinre 全局安装 weinre,weinre 安装目录是:C:UsersAdministratorAppDataRoaming pm
需要配置环境变量,在系统变量path中加上以下路径: