SpringBoot安装CLI(mac)

由于自己使用 Mac,所以,以下讲解也是已mac为例。

1、首先到Spring官方镜像仓库中下载jar包:

https://repo.spring.io/release/org/springframework/boot/spring-boot-cli/1.3.0.RELEASE/(可能需要科学上网)

如果不能科学上网的小伙伴,点这里

2、解压文件到某个目录(具体放到你,你开心就好)

然后,将bin目录添加到环境变量中去,如果添加请点这里,完成之后,在终端输入如下命令:

spring --version

Read the fucking manual and source code
原文地址:https://www.cnblogs.com/qxynotebook/p/9734749.html