SDKMAN
Install¶
Follow the on-screen instructions to wrap up the installation.
Current running sdkman version
Usage¶
Install¶
Install a package with the following command:
[version]
is optional. If not provided, the latest version will be installed.
Remove a package
List¶
List all available packages
List all installed packages
List all available versions of a package
Use¶
Use a specific version of a package
Default¶
Set a default version of a package
Current¶
Display the current version of a package
Env¶
You want to switch between different versions of a package in different project. This can be achieved through an .sdkmanrc
file in the base directory of your project. This file can be generated automatically by issuing the following command:
After checking out a new project, you may be missing some SDKs specified in the project's .sdkmanrc file. To install these missing SDKs, just type:
When leaving a project, you may want to reset the SDKs to their default version. This can be achieved by entering:
Upgrade¶
To see what is outdated for all Candidates:
[package]
is optional. If not provided, all candidates to be upgraded will be listed.
Update¶
To update the candidates new version or being added or removed, run:
Home¶
To open the home location of a package