From 2db2631baac6c3fa8a8596c0cf189c0f46467921 Mon Sep 17 00:00:00 2001 From: FireIsGood Date: Wed, 22 May 2024 02:53:20 -0700 Subject: [PATCH] fix: sdkman formatting Changes it to be 2 columns --- source/_posts/sdkman.md | 62 +++++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 24 deletions(-) diff --git a/source/_posts/sdkman.md b/source/_posts/sdkman.md index 95058c8..580ff9d 100644 --- a/source/_posts/sdkman.md +++ b/source/_posts/sdkman.md @@ -2,91 +2,105 @@ title: SDKMAN! date: 2023-12-18 20:25:30 background: bg-[#cf5e3c] -label: -tags: - - command - - software development kits - - sdk +label: +tags: + - command + - software development kits + - sdk categories: - - Linux Command + - Linux Command intro: | - This cheatsheet provides the most commonly used SDKMAN! command line instructions + This cheatsheet provides the most commonly used SDKMAN! command line instructions plugins: - copyCode --- -Getting Started ---------------- +## Getting Started {.cols-2} ### Installing SDKMAN! + Download SDKMAN! -``` shell script + +```shell script $ curl -s "https://get.sdkman.io" | bash ``` Install SDKMAN! -``` shell script + +```shell script $ source "$HOME/.sdkman/bin/sdkman-init.sh" ``` Check the version -``` shell script + +```shell script $ sdk version ``` Update -``` shell script + +```shell script $ sdk update ``` Help -``` shell script + +```shell script $ sdk help ``` - ### Installing and managing candidates {.row-span-2} + List all candidates -``` shell script + +```shell script $ sdk list ``` List versions of a candidate -``` shell script + +```shell script $ sdk list ``` Install a candidate with the latest version -``` shell script + +```shell script $ sdk install ``` Install a candidate with specific version -``` shell script + +```shell script $ sdk install ``` Temporarily switch between versions -``` shell script + +```shell script $ sdk use ``` Permanently switch to version -``` shell script + +```shell script $ sdk default ``` Display specific candidate version in use -``` shell script + +```shell script $ sdk current ``` Display all candidates versions in use -``` shell script + +```shell script $ sdk current ``` Remove a candidate -``` shell script + +```shell script $ sdk uninstall ```