标签:with https ash erro master IV www strong tps
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew tap pivotal/tap
$ brew install springboot
// HelloController.groovy
@RestController
class HelloController{
@RequestMapping("/")
def hello(){
return "Hello World"
}
}
$ spring run HelloController.groovy
spring
程序iTerm2
使用的是ZSHsudo vi ~/.zshrc
export SPRING_HOME="/usr/local/Cellar/springboot/2.0.2.RELEASE"
export PATH=$SPRING_HOME/bin:$PATH
source ~/.zshrc
,更新配置文件spring --version
Spirng CLI v2.0.2.RELEASE
表明更改成功
标签:with https ash erro master IV www strong tps
原文地址:https://www.cnblogs.com/linkworld/p/9206910.html