What is 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.
1. Install Cygwin for windows
https://cygwin.com/install.html
Make sure you select the cURL during the package selection as below,
If you have not installed cURL then you have to add explicitly as like below,
Copy your setup-x86_64.exe file to your c:/cygwin64,and then run it from there ( run in cmd -> setup-x86_64.exe -q -P curl)
Close the windows cmd.
2.Open new Cygwin terminal then install sdkman.
you will get the below success message.
Bala@LAPTOP-12345~
$ curl -s https://get.sdkman.io | bash
Thanks for using...
..
..
..
All done!
Please open a new terminal, or run the following in the existing one:
source "/home/Bala/.sdkman/bin/sdkman-init.sh"
Then issue the following command:
sdk help
Enjoy!!!
5.Check the version
Bala@LAPTOP-12345~
$ source "/home/Bala/.sdkman/bin/sdkman-init.sh"
Bala@LAPTOP-12345~
$ sdk version
==== BROADCAST =================================================================
* 15/08/17: Kotlin 1.1.4 released on SDKMAN! #kotlin
* 13/08/17: sbt 1.0.0 released on SDKMAN! @scala_sbt #sbt
* 12/08/17: Kscript 1.6.0 released on SDKMAN! #kscript
================================================================================
SDKMAN 5.5.10+240
Bala@LAPTOP-12345~
$
Thats all!.
No comments
Post a Comment