设置环境变量 ZOOKEEPER_SERVICE=zkServer ZOOKEEPER_HOME=D:\software\zookeeper-3.4.13 1.以管理员方式运行cmd,不是powershell 2.进入bin目录 3.运行install.bat 4.开启服务netstartzkServer