mac os x 安装springboot

(springboot 实战有介绍,这里记录说明)

Homebrew安装Springboot,需要引入第三方的资源库pivotal ,

没有引入时,brew info springboot是找不到的

➜  ~  brew info springboot
Error: No available formula with the name "springboot" 

1、终端执行: brew tap pivotal/tap

➜  ~  brew tap pivotal/tap
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16/rbconfig.rb:213: warning: Insecure world writable dir /Users/yang/infoship/maven/bin in PATH, mode 040777
==> Tapping pivotal/tap
Cloning into '/usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap'...
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 15 (delta 0), reused 5 (delta 0), pack-reused 0
Unpacking objects: 100% (15/15), done.
Tapped 8 formulae (49 files, 45.2KB)

2、brew info springboot 查看资源库中的springboot信息(可以跳过)

➜  ~  brew info springboot
pivotal/tap/springboot: stable 1.5.3.RELEASE, HEAD
http://projects.spring.io/spring-boot/
Not installed
From: https://github.com/pivotal/homebrew-tap/blob/master/springboot.rb

3、安装springboot,执行命令:brew install springboot

➜  ~  brew install springboot
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16/rbconfig.rb:213: warning: Insecure world writable dir /Users/yang/infoship/maven/bin in PATH, mode 040777
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
make

==> Installing springboot from pivotal/tap
==> Downloading https://repo.spring.io/release/org/springframework/boot/spring-b
######################################################################## 100.0%
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
?  /usr/local/Cellar/springboot/1.5.3.RELEASE: 7 files, 8.9MB, built in 12 seconds

查看版本信息,执行:spring --version

➜  ~  spring --version
Spring CLI v1.5.3.RELEASE

接下来就可以继续学习了

转载于:https://my.oschina.net/u/3465621/blog/895577

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值