Spring Boot Reference Guide
docs.spring.io
10.2.1 수동 설치
spring-2.1.5.RELEASE\INSTALL.txt
SPRING BOOT CLI - INSTALLATION
==============================
Thank you for downloading the Spring Boot CLI tool. Please follow these instructions
in order to complete your installation.
Prerequisites
-------------
Spring Boot CLI requires Java JDK v1.8 or above in order to run. Groovy v2.5.7 is packaged as part of this distribution, and therefore does not need to be installed (any existing Groovy installation is ignored).
스프링 부트 CLI를 실행하려면 Java JDK v1.8 이상이 필요합니다. Groovy v2.5.7은이 배포판의 일부로 패키지되어 있으므로 설치할 필요가 없습니다 (기존 Groovy 설치는 무시됩니다).
The CLI will use whatever JDK it finds on your path, to check that you have an appropriate
version you should run:
CLI는 경로에서 찾은 JDK를 사용하여 실행해야하는 적절한 버전이 있는지 확인합니다.
java -version
Alternatively, you can set the JAVA_HOME environment variable to point a suitable JDK.
또는 적절한 JDK를 가리 키도록 JAVA_HOME 환경 변수를 설정할 수 있습니다.
Environment Variables
---------------------
No specific environment variables are required to run the CLI, however, you may want to
set SPRING_HOME to point to a specific installation. You should also add SPRING_HOME/bin
to your PATH environment variable.
CLI를 실행하는 데 필요한 특정 환경 변수는 없지만 SPRING_HOME을 특정 설치를 가리 키도록 설정할 수 있습니다. 또한 PATH 환경 변수에 SPRING_HOME / bin을 추가해야합니다.
Shell Completion
----------------
Shell auto-completion scripts are provided for BASH and ZSH. Add symlinks to the appropriate
location for your environment. For example, something like:
BASH 및 ZSH 용 쉘 자동 완성 스크립트가 제공됩니다. 환경에 적합한 위치에 심볼릭 링크를 추가하십시오. 예를 들면 다음과 같습니다.
ln -s ./shell-completion/bash/spring /etc/bash_completion.d/spring
ln -s ./shell-completion/zsh/_spring /usr/local/share/zsh/site-functions/_spring
Checking Your Installation
--------------------------
To test if you have successfully installed the CLI you can run the following command:
spring --version