Installation Installing SDKMAN
来源:互联网 发布:2016年淘宝刷单权重 编辑:程序博客网 时间:2024/05/24 06:05
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:
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_
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
- PHP5 Installation: Installing as an Apache module
- 使用SDKMAN
- 安装sdkman
- Installing R on SUSE - Download for later installation
- sdkman工具的使用
- sdkman工具的使用
- sdkman工具的使用
- Windows PowerShell 使用SDKMAN
- Windows PowerShell 使用SDKMAN
- Installing Installation Manager fails with Java exit code 13 when installer path contains special ch
- MATLAB Preparing installation files ... Installing ... Exception in thread "main" com.google.inject.
- 108.You are installing Oracle Database 11g on your server. During the installation Oracle Universal
- Installing Android Studio, does not point to a valid JVM installation error
- SDKMAN 软件开发工具包管理器
- sdkman 管理开发中使用的sdk
- mac环境利用SDKMAN安装gradle
- Installing unixODBC
- 20171015
- 1011. A+B和C (15)
- 面试题总结——JAVA高级工程师
- 对xml文件的解析dom4j
- linux 命令
- Installation Installing SDKMAN
- SPOJSUBST1-New Distinct Substrings
- c# Post/Get提交调用抓取 asp.net
- IOS-React-Native:unable to find utility "instruments", not a developer tool or in PATH
- charles for mac 破解
- git笔记
- Linux下SVN安装教程
- 【开坑】毕业设计 kinect
- SDK Installation Candidates