下载 https://github.com/alibaba/nacos/releases pom中引入依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> </dependency> 运行bin目录中的脚本后启动nacos 用户名与密码默认都是nacos