Hear from the Spring team this January at SpringOne. >

Spring Shell


Users of the Spring Shell project can easily build a full featured shell ( aka command line) application by depending on the Spring Shell jars and adding their own commands (which come as methods on spring beans). Creating a command line application can be useful e.g. to interact with your project’s REST API, or to work with local file content.


Spring Shell’s features include

  • A simple, annotation driven, programming model to contribute custom commands

  • Use of Spring Boot auto-configuration functionality as the basis for a command plugin strategy

  • Tab completion, colorization, and script execution

  • Customization of command prompt, shell history file name, handling of results and errors

  • Dynamic enablement of commands based on domain specific criteria

  • Integration with the bean validation API

  • Already built-in commands, such as clear screen, gorgeous help, exit

  • ASCII art Tables, with formatting, alignment, fancy borders, etc.

Spring Initializr

Quickstart Your Project

Bootstrap your application with Spring Initializr.


Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
2.1.3 CURRENT GA Reference Doc. API Doc.
3.0.0-SNAPSHOT SNAPSHOT Reference Doc. API Doc.
3.0.0-M2 PRE Reference Doc. API Doc.
2.1.3-SNAPSHOT SNAPSHOT Reference Doc. API Doc.
2.0.1.RELEASE GA Reference Doc. API Doc.
Branch Initial Release End of Support End Commercial Support *
2022-07-23 2023-07-23 2024-11-23

OSS support

Free security updates and bugfixes with support from the Spring community. See VMware Tanzu OSS support policy.

Commercial support

Business support from Spring experts during the OSS timeline, plus extended support after OSS End-Of-Life.
Publicly available releases for critical bugfixes and security issues when requested by customers.

Future release

Generation not yet released, timeline is subject to changes.

About commercial support (*)

This page shows the current state of project releases and does not define the commercial support policy. Please refer to the official support policy for more information.