Skip to content

Instantly share code, notes, and snippets.

@tommcd
Last active September 29, 2022 16:57
Show Gist options
  • Save tommcd/36d454456c3f2b9a0ce03a813ea7befb to your computer and use it in GitHub Desktop.
Save tommcd/36d454456c3f2b9a0ce03a813ea7befb to your computer and use it in GitHub Desktop.
SDKMAN on git bash (Windows)

Prerequisites

Install Git for windows and 7zip

winget install -e --id 7zip.7zip -i winget install -e --id Git.Git -i

Ensure 'zip' is available

ln -s /c/Program\ Files/7-Zip/7z.exe /c/Program\ Files/Git/mingw64/bin/zip.exe

Check that all "necessary toolchain to function" from https://sdkman.io/install are available: which curl which tar which gzip which unzip which zip

cd $HOME

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

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

sdk version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment