Files
reference/source/_posts/sdkman.md
T
FireIsGood 2db2631baa fix: sdkman formatting
Changes it to be 2 columns
2024-05-22 02:53:20 -07:00

1.4 KiB

title, date, background, label, tags, categories, intro, plugins
title date background label tags categories intro plugins
SDKMAN! 2023-12-18 20:25:30 bg-[#cf5e3c]
command
software development kits
sdk
Linux Command
This cheatsheet provides the most commonly used SDKMAN! command line instructions
copyCode

Getting Started

Installing SDKMAN!

Download SDKMAN!

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

Install SDKMAN!

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

Check the version

$ sdk version

Update

$ sdk update

Help

$ sdk help

Installing and managing candidates

List all candidates

$ sdk list

List versions of a candidate

$ sdk list <candidate>

Install a candidate with the latest version

$ sdk install <candidate>

Install a candidate with specific version

$ sdk install <candidate> <version>

Temporarily switch between versions

$ sdk use <candidate> <version>

Permanently switch to version

$ sdk default <candidate> <version>

Display specific candidate version in use

$ sdk current <candidate>

Display all candidates versions in use

$ sdk current

Remove a candidate

$ sdk uninstall <candidate> <version>