mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
1.4 KiB
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] |
|
|
This cheatsheet provides the most commonly used SDKMAN! command line instructions |
|
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>