To verify spring boot CLI installation correctly, run spring -version in terminal.$ export PATH='/Users/zhaosong/Downloads/spring-2.1.0.BUILD-SNAPSHOT/bin:$PATH' # Add spring boot CLI bin folder to system environment variable PATH value and save. Open a terminal and execute the below command to add the above bin folder to the current system environment variable PATH‘s value.There are two executable files, one is spring( for Mac or Linux ) the other is spring.bat( for Windows ). You can find there is a bin folder under it. Unzip the downloaded file to a local folder.Go to the spring boot getting started and installation page and download spring-boot-cli-2.1.0.BUILD-SNAPSHOT-bin.zip.This method is useful for both macOS, Linux, and Windows.