Spring based interactive shell


Spring Shell is an shell skeleton that can be easily extended with commands using a Spring based programming model. Spring Shell eases the creation of interactive console applications, featuring ANSI coloring, TAB completion, history browsing, etc.

To witness possibilities of Spring Shell, have a look at the Spring XD Shell.

The latest release version is 1.1.0.RELEASE, while the development version is 1.2.0.BUILD-SNAPSHOT.

Useful links


<!-- used for Spring GA Releases releases, artifacts are also in maven central -->
 <!-- Release -->
 <name>Spring Maven RELEASE Repository</name>

<!-- libs-release artifacts that may not be in maven central -->
 <name>Spring Maven libs-release Repository</name>


<!-- used for nightly builds -->
 <!-- Snapshots -->
 <name>Spring Maven SNAPSHOT Repository</name>

  • Gradle:

repositories {
   maven { url "http://repo.springsource.org/lib-release" }

dependencies {
   compile "org.springframework.shell:spring-shell:1.1.0.RELEASE"


Spring Shell is built with Gradle. To build Spring Shell, run


Running Example

cd samples/helloworld
./gradlew installApp
cd build/install/helloworld/bin


Here are some ways for you to get involved in the community:

  • Get involved with the Spring community on Stack Overflow. Please help out on the dedicated SO tag by responding to questions and joining the debate.

  • Create JIRA tickets for bugs and new features and comment and vote on the ones that you are interested in. Github is for social coding: if you want to write code, we encourage contributions through pull requests from forks of this repository. If you want to contribute code this way, please reference a JIRA tracker ticket covering the specific issue you are addressing. Before we accept a non-trivial patch or pull request we will need you to sign the contributor’s agreement. Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. Active contributors might be asked to join the core team, and given the ability to merge pull requests.