介绍
SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems. It provides a convenient Command Line Interface (CLI) and API for installing, switching, removing and listing Candidates. Formerly known as GVM the Groovy enVironment Manager, it was inspired by the very useful RVM and rbenv tools, used at large by the Ruby community.
安装
第一步:下载并安装
1 |
|
第二步:初始化(设置环境变量等,这样可以全局使用)
1 |
|
执行完后,会在~/.bashrc末尾添加如下内容:
1 |
|
详情请移步官方安装指南
使用
1 |
|
列举
1 |
|
安装
1 |
|
切换
1 |
|