If you want to run a Groovy app using the Spring Boot CLI Being disturbed by "Spring" of "Ruby Gem" Because the command "spring run" of Spring Boot CLI could not be done Make a note of the solution.
Add the following two lines to .zshrc (Please convert .zshrc to .bashrc according to your environment)
export SPRING_HOME=/Users/Y_h/spring-1.5.6.RELEASE
export PATH=$SPRING_HOME/bin/:$PATH
from
source ~/.zshrc
```Reflect the change in
2. Check the operation of Spring Boot CLI
----
$ spring
And enter in Terminal ...
usage: spring [--help] [--version]
Available commands are:
run [options]
test [options]
grab Download a spring groovy script's dependencies to ./repository
jar [options]
war [options]
install [options]
uninstall [options]
init [options] [location] Initialize a new project using Spring Initializr (start.spring.io)
shell Start a nested shell
Common options:
-d, --debug Verbose mode Print additional status information for the command you are running
See 'spring help
Is displayed, OK
Thank you
# Finally
If you look closely at the installation guide, it's written.
I'm addicted to ...
Recommended Posts