snippetbashTip
sdk — Manage parallel versions of multiple Software Development Kits. Supports Java, Groovy, Scala, Kotlin
Viewed 0 times
commandmultipleparallelversionssoftwaresdkclimanage
Problem
How to use the
sdk command: Manage parallel versions of multiple Software Development Kits. Supports Java, Groovy, Scala, Kotlin, Gradle, Maven, Vert.x and many others. More information: <https://sdkman.io/usage/>.Solution
sdk — Manage parallel versions of multiple Software Development Kits. Supports Java, Groovy, Scala, Kotlin, Gradle, Maven, Vert.x and many others. More information: <https://sdkman.io/usage/>.Install an SDK version:
sdk install {{sdk_name}} {{sdk_version}}Use a specific SDK version for the current terminal session:
sdk use {{sdk_name}} {{sdk_version}}Show the stable version of any available SDK:
sdk current {{sdk_name}}Show the stable versions of all installed SDKs:
sdk currentList all available SDKs:
sdk listList all versions of an SDK:
sdk list {{sdk_name}}Upgrade an SDK to the latest stable version:
sdk upgrade {{sdk_name}}Uninstall a specific SDK version:
sdk rm {{sdk_name}} {{sdk_version}}Code Snippets
Install an SDK version
sdk install {{sdk_name}} {{sdk_version}}Use a specific SDK version for the current terminal session
sdk use {{sdk_name}} {{sdk_version}}Show the stable version of any available SDK
sdk current {{sdk_name}}Show the stable versions of all installed SDKs
sdk currentList all available SDKs
sdk listContext
tldr-pages: common/sdk
Revisions (0)
No revisions yet.