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
  • Save qwfys/3e271dc4c8eb084302c3805714bae853 to your computer and use it in GitHub Desktop.
Save qwfys/3e271dc4c8eb084302c3805714bae853 to your computer and use it in GitHub Desktop.
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment