安装: spring-boot-cli
一个web框架的 cli 工具
安装 sdkman
sdk --version
安装 springboot
sdk install springboot
使用 brew 安装
brew tap spring-io/tap
brew install spring-boot
测试
$ spring --version
Spring CLI v3.2.1
项目
springboot init --build gradle --description "Our first Spring Boot application" --group-id work.js --java-version 17 --language kotlin --name spring-boot-app --version 0.0.1-SNAPSHOT
参考
- https://docs.spring.io/spring-boot/docs/current/reference/html/cli.html
- https://sdkman.io/
- https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started.html#getting-started.installing.cli
- https://stackoverflow.com/questions/47704002/how-to-install-spring-boot-cli-on-mac
- https://theboreddev.com/spring-boot-app-using-spring-boot-cli/