关注微信公众号:

回复语言名称,比如java,python,go,C, C++.有海量资源免费赠送!
Installation

Installing SDKMAN! on UNIX-like platforms is as easy as ever. SDKMAN! installs smoothly on Mac OSX, Linux, Cygwin, Solaris and FreeBSD. We also support Bash and ZSH shells.
Simply open a new terminal and enter:

$ curl -s “https://get.sdkman.io” | bash

Follow the instructions on-screen to complete installation.
Next, open a new terminal or enter:

$ source “$HOME/.sdkman/bin/sdkman-init.sh”

Lastly, run the following code snippet to ensure that installation succeeded:

$ sdk version

If all went well, the version should be displayed. Something like:

sdkman 5.0.0+51

Beta Channel

For the more adventurous among us, we have a beta channel. All new CLI features will first be rolled out to this group of users for trial purposes. Beta versions can be considered stable for the most part, but might occasionally break. To join the beta program, simply update the the ~/.sdkman/etc/config file as follows:

sdkman_beta_channel=true

Next, open a new terminal and perform a forced update with:

$ sdk selfupdate force

To leave the beta channel, simply set the above config back to false and follow the same procedure.

Uninstallation
In the unlikely event that you would like to uninstall SDKMAN!, we don’t have an automated way of doing this yet. If you really do want to remove it from your system, it is very easy to do so.The following will guide you through backing up, then removing the entire installation from your system.

tar zcvf ~/sdkman-backup_$(date +%F-%kh%M).tar.gz -C ~/ .sdkman
$ rm -rf ~/.sdkman

The last step involves editing and removing the initialisation snippet from your .bashrc, .bash_profile and/or .profile files. If you use ZSH, remove it from the .zshrc file. The snippet of code to be removed looks something like this:

#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
[[ -s “/home/dudette/.sdkman/bin/sdkman-init.sh” ]] && source “/home/dudette/.sdkman/bin/sdkman-init.sh”

Once removed, you have successfully uninstalled SDKMAN! from your machine.
Installing to a Custom Location
It is possible to install SDKMAN! to a custom location other than $HOME/.sdkman. This can be achieved by exporting your custom location as SDKMAN_DIR prior to installing.
Simply open a new terminal and enter:

$ export SDKMAN_DIR="/usr/local/sdkman" && curl -s “https://get.sdkman.io” | bash

For this to work it is vital that your user has full access rights to this folder.It is also important that the folder does not exist as SDKMAN! will attempt to create it.

That’s all there is to it! Next we will look at Usage.

Installation Installing SDKMAN相关推荐

  1. git bash安装SDKman遇到需要安装zip的问题

    问题如下 $ curl -s "https://get.sdkman.io" | bash-+syyyyyyys:`/yho:` -yd.`/yh/` +m..oho. hy .` ...

  2. sdkman 的酷炫 Logo 欢迎界面: 安装 kscript (Kotlin Shell)

    安装 sdkman $curl -s "https://get.sdkman.io" | bash -+syyyyyyys:`/yho:` -yd.`/yh/` +m..oho. ...

  3. ubuntu安装sdkman

    ubuntu安装sdkman curl -s https://get.sdkman.io | bash (base) dell@ubuntu:~/work/code/Release$ curl -s ...

  4. kotlin编程语言_Kotlin初学者编程基础

    kotlin编程语言 什么是Kotlin? (What is Kotlin?) Kotlin is a programming language developed by Jetbrains, the ...

  5. 如何在wsl中安装kotlin编译器(简单有效)

    文章目录 如何在wsl中安装kotlin编译器 安装SDKMAN 安装kotlin 命令行解释器 新建kts文件运行测试 参考 如何在wsl中安装kotlin编译器 笔者系统 windows 11 w ...

  6. 在 CentOS 7.6 上打包 Android Package APK

    文章目录 基本环境准备 环境变量 git 安装 sdk tools 安装 Gradle 打包 APK 基本环境准备 环境变量 [root@android-package ~]# mkdir /usr/ ...

  7. Gradle下载与安装

    Gradle 下载与安装 前言 博客书 版本说明 gradle=6.0 windows=10 linux.centos=7 相关链接 Gradle 官网:https://gradle.org/ Gra ...

  8. 【Spring Boot官方文档原文理解翻译-持续更新中】

    [Spring Boot官方文档原文理解翻译-持续更新中] 文章目录 [Spring Boot官方文档原文理解翻译-持续更新中] Chapter 4. Getting Started 4.1. Int ...

  9. Oracle VDI 安装

    为什么80%的码农都做不了架构师?>>>    你可以在这里找到本文的原文. 虽然说Oracle已经停止了VDI的开发,之后支持服务业很快停止了.但是,作为经典的桌面虚拟化产品,还是 ...

最新文章

  1. mysql 插入汉字 异常 Incorrect string value: '\xE8\xA7\x84\xE5\x88\x99' for column 'name'
  2. 在家也能做化学实验!VR教育机构MEL Science获250万美元融资
  3. python画散点图类型-绘制python中的线和散点图
  4. deepin linux深度ISO镜像下载地址
  5. python学习笔记--随时更新
  6. 【树】104. 二叉树的最大深度
  7. QT关于Excel的操作
  8. mysql 慢日志 逻辑读_学会读懂 MySql 的慢查询日志
  9. JAX-WS发布WebService
  10. 无法访问,您可能没有权限使用网络资源的解决
  11. 影片剪辑app android,猫饼剪辑app
  12. 体会现实生活的两个月(上)
  13. 微软账号登录后本地账号就关联了且没有改用本地账号登录如何解决?
  14. 国内各大短视频平台去水印下载内容,新年限时免费使用。
  15. faster rcn固定输入图片尺寸(一)
  16. String字符串操作--切割,截取,替换,查找,比较,去空格.....
  17. Linux 的体系结构结构
  18. 当初的愿望实现了吗?看华为云普惠AI这一年
  19. b站coderwhy老师_购物首页开发
  20. vim 清空文本内容指令

热门文章

  1. scratch小猫钓鱼 电子学会图形化编程scratch等级考试四级真题和答案解析2021-9
  2. 输入一个数并正序、反序输出。 例如:输入123,输出123 321。
  3. gnuplot 两点画线
  4. 机械祭天法力无边:C++primer学习(第一章及课后习题)
  5. BZOJ1103 大都市 DFS序 树状数组维护差分数组
  6. 防火墙之ipsec vpn实验
  7. 野蔷薇的伤感人生日志:已失落于尘埃,再也找寻不得
  8. 现实迷途 第二章 借酒买醉
  9. 看卡辛斯基的警告 让我想起 人类简史
  10. Tensorflow的基本使用方法