Mac 下安装SpringBoot CLI(Command Line Interface)
程序员文章站
2022-05-07 17:25:44
...
1、确认mac下有没有安装HomeBrew
#执行以下命令
localhost:~ $ brew -v
#如显示Homebrew以及其版本,则证明有安装
Homebrew 2.2.1
Homebrew/homebrew-core (git revision 0160e8; last commit 2019-12-13)
2、为HomeBrew添加附加的软件源pivotal’s tap(主要为后面安装springboot做铺垫)
localhost:~ $ brew tap pivotal/tap
Updating Homebrew...
==> Tapping pivotal/tap
Cloning into '/usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap'...
......
3、使用brew命令安装springboot
localhost:~$ brew install springboot
Updating Homebrew...