Skip to content

Instantly share code, notes, and snippets.

@qwfys
Forked from mkovacek/Setup sdkman on windows 10
Created October 14, 2021 03:27
Show Gist options
  • Select an option

  • Save qwfys/3e271dc4c8eb084302c3805714bae853 to your computer and use it in GitHub Desktop.

Select an option

Save qwfys/3e271dc4c8eb084302c3805714bae853 to your computer and use it in GitHub Desktop.

Revisions

  1. Matija Kovaček created this gist Jun 16, 2017.
    16 changes: 16 additions & 0 deletions Setup sdkman on windows 10
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    Run powershell as administrator:
    -posh-gvm installation:
    Execute (new-object Net.WebClient).DownloadString('https://raw.githubusercontent.com/flofreud/posh-gvm/master/GetPoshGvm.ps1') | iex
    Execute Import-Module posh-gvm
    // if you have problems with execution policy (https://msdn.microsoft.com/powershell/reference/5.1/Microsoft.PowerShell.Core/about/about_Execution_Policies)
    // Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
    // later return to old value
    Execute gvm help to get started!

    -sdkman installation:
    curl -s "get.sdkman.io"
    enter again get.sdkman.io

    - To install for example java, instead "sdk install java" execute "gvm install java"