How to install SDKMAN!

Java
Published on: Jan 29, 2024

SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on Unix based systems. It’s useful for installing multiple versions of Java, Maven, Spring Initializer, etc.

Steps to install SDKMAN!

  1. Terminal window
    sudo apt install -y unzip zip curl

    Installs curl, unzip, and zip.

    • curl tool is required to download installation script.
    • unzip and zip tools are used in installation script.
  2. Terminal window
    curl -s "https://get.sdkman.io" | bash

    Downloads and executes the installation script.

  3. Terminal window
    source ~/.sdkman/bin/sdkman-init.sh

    Completes the installation.

More details

To check the SDKMAN! version, run:

Terminal window
sdk version