Installing SDKMan in Ubuntu OS

The SDKMan referred to as Software Development Kit Manager is a tool for effortlessly managing multiple Software Development Kits in your machine. You can have different version of the softare development kits and switch between them easily. In this article we are going to look at installing SDKMan in Ubuntu operating system.

Before you install SDKMan, make sure you have installed the Java OpenJDK in your Ubuntu machine. If not you can follow our article on Installing Java OpenJDK in Ubuntu to install it.

Steps for Installing SDKMan in Ubuntu:

Open up Terminal in Ubuntu.

Execute the following commands in order:

curl -s "https://get.sdkman.io" | bash

Once installation is completed it will display output similar to the following screen:

Installing SDKMan in Ubuntu

Execute the following command in the shell terminal:

source "$HOME/.sdkman/bin/sdkman-init.sh"

Now to check if the SDKMan is installed properly or not, check the SDK version by executing the following command:

sdk version

This will show the SDKMan version similar to the following output:

Related Posts