Developing the Spring Boot microservice using the CLI

The easiest way to develop and demonstrate Spring Boot's capabilities is using the Spring Boot CLI, a command-line tool. Perform the following steps:

  1. Install the Spring Boot command-line tool by downloading the spring-boot-cli-1.3.5.RELEASE-bin.zip file from http://repo.spring.io/release/org/springframework/boot/spring-boot-cli/1.3.5.RELEASE/spring-boot-cli-1.3.5.RELEASE-bin.zip.
  2. Unzip the file into a directory of your choice. Open a terminal window and change the terminal prompt to the bin folder.

    Ensure that the bin folder is added to the system path so that Spring Boot can be run from any location.

  3. Verify the installation with the following command. If successful, the Spring CLI version will ...

Get Spring Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.