Skip to content

Instantly share code, notes, and snippets.

@mkovacek
Created June 16, 2017 17:51
Show Gist options
  • Save mkovacek/1a5e757ca9bcc96e5298b67d726f7f9d to your computer and use it in GitHub Desktop.
Save mkovacek/1a5e757ca9bcc96e5298b67d726f7f9d 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"