SDKMAN! is as powerful tool to install and manage software development kits (SDKs) and tools, like Java, Groovy, Gradle, Maven, Spring Boot and Quarkus. If you want to see if a new version of a SDK or tool is available, you can use the sdk upgrade command. This command will list all outdated SDKs and tools. The installed version and the latest version are shown for each SDK and tool. To see if a single SDK or tool is outdated, you can use the name of the SDK or tool as argument to the sdk upgrade command.

In the following example you see the output of a sdk upgrade command for the Spring Boot tool. By answering Y (default answer) to the question Use prescribed default version(s)? you can upgrade the Spring Boot tool to the latest version:

$ sdk upgrade springboot

Available defaults:
springboot (local: 3.1.5, 3.2.4; default: 3.4.3)

Use prescribed default version(s)? (Y/n):

Downloading: springboot 3.4.3

In progress...

####################################################################### 100.0%

Installing: springboot 3.4.3
Done installing!


Setting springboot 3.4.3 as default.
$

You can also run sdk upgrade without an argument and the output shows all SDKs and tools that are outdated. You can upgrade all outdated SDKs and tools by answering Y to the question Use prescribed default version(s)?. In the following example you see the output of a sdk upgrade command without an argument:

$ sdk upgrade

Available defaults:
groovy (local: 4.0.25, 4.0.24, 4.0.23, 3.0.22, 4.0.20; default: 4.0.26)
java (local: 20-tem, 21-tem, 11.0.22-tem, 23-tem, 11.0.25-tem, 21-zulu, 19.0.2-tem, 19.0.1-tem, 17.0.10-tem, 17.0.13-tem, 11.0.8.hs-adpt, 23-graalce, 8.0.432-tem, 21.0.1-tem, 21.0.3-tem, 21.0.2-tem, 21.0.5-tem, 21.0.4-tem; default: 21.0.6-tem)

Use prescribed default version(s)? (Y/n):

Downloading: groovy 4.0.26

In progress...

####################################################################### 100.0%

Installing: groovy 4.0.26
Done installing!


Setting groovy 4.0.26 as default.

Downloading: java 21.0.6-tem

In progress...

####################################################################### 100.0%

Repackaging Java 21.0.6-tem...
Restored java version to 21.0.4-tem (default)

Using java version 11.0.25-tem in this shell.

Done repackaging...
Cleaning up residual files...

Installing: java 21.0.6-tem
Done installing!


Setting java 21.0.6-tem as default.
$

Written with SKDMAN! 5.19.0.

shadow-left