macOS 下安装SDKMAN 软件开发工具包管理器

2017-08-02 22:49:53来源:CSDN作者:testcs_dn人点击


SDKMAN 软件开发工具包管理器的安装非常简单,只需要打开终端,执行:

$ curl -s "" | bash


Thanks for using...                                            		                                                                        		                                                                        		              SSSSSSSSSSSSSSS DDDDDDDDDDDDD       KKKKKKKKK    KKKKKKK                     SS:::::::::::::::SD::::::::::::DDD    K:::::::K    K:::::K                    S:::::SSSSSS::::::SD:::::::::::::::DD  K:::::::K    K:::::K                    S:::::S     SSSSSSSDDD:::::DDDDD:::::D K:::::::K   K::::::K                    S:::::S              D:::::D    D:::::DKK::::::K  K:::::KKK                    S:::::S              D:::::D     D:::::D K:::::K K:::::K                        S::::SSSS           D:::::D     D:::::D K::::::K:::::K                          SS::::::SSSSS      D:::::D     D:::::D K:::::::::::K                             SSS::::::::SS    D:::::D     D:::::D K:::::::::::K                                SSSSSS::::S   D:::::D     D:::::D K::::::K:::::K                                    S:::::S  D:::::D     D:::::D K:::::K K:::::K                                   S:::::S  D:::::D    D:::::DKK::::::K  K:::::KKK                    SSSSSSS     S:::::SDDD:::::DDDDD:::::D K:::::::K   K::::::K                    S::::::SSSSSS:::::SD:::::::::::::::DD  K:::::::K    K:::::K                    S:::::::::::::::SS D::::::::::::DDD    K:::::::K    K:::::K                     SSSSSSSSSSSSSSS   DDDDDDDDDDDDD       KKKKKKKKK    KKKKKKK                                                                                                                                                                                                      mmmmmmm    mmmmmmm     aaaaaaaaaaaaa  nnnn  nnnnnnnn                         mm:::::::m  m:::::::mm   a::::::::::::a n:::nn::::::::nn                      m::::::::::mm::::::::::m  aaaaaaaaa:::::an::::::::::::::nn                     m::::::::::::::::::::::m           a::::ann:::::::::::::::n                    m:::::mmm::::::mmm:::::m    aaaaaaa:::::a  n:::::nnnn:::::n                    m::::m   m::::m   m::::m  aa::::::::::::a  n::::n    n::::n                    m::::m   m::::m   m::::m a::::aaaa::::::a  n::::n    n::::n                    m::::m   m::::m   m::::ma::::a    a:::::a  n::::n    n::::n                    m::::m   m::::m   m::::ma::::a    a:::::a  n::::n    n::::n                    m::::m   m::::m   m::::ma:::::aaaa::::::a  n::::n    n::::n                    m::::m   m::::m   m::::m a::::::::::aa:::a n::::n    n::::n                    mmmmmm   mmmmmm   mmmmmm  aaaaaaaaaa  aaaa nnnnnn    nnnnnn             								                                                 								                                                                                      Now attempting installation...                                                                               Looking for a previous installation of SDKMAN...Looking for unzip...Looking for zip...Looking for curl...Looking for sed...Installing SDKMAN scripts...Create distribution directories...Getting available candidates...Prime the config file...Download script archive...  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0100 20838  100 20838    0     0   2331      0  0:00:08  0:00:08 --:--:-- 20290Extract script archive...Install scripts...Set version to 5.5.9+231 ...Updated existing /Users/aven/.bashrcAttempt update of zsh profiles...Updated existing /Users/aven/.zshrcAll done!Please open a new terminal, or run the following in the existing one:    source "/Users/aven/.sdkman/bin/"Then issue the following command:    sdk helpEnjoy!!!

source "/Users/aven/.sdkman/bin/"


$ sdk==== BROADCAST =================================================================* 29/07/17: Scala 2.12.3 released on SDKMAN! #scala* 27/07/17: Springboot 1.5.6.RELEASE released on SDKMAN! #springboot* 26/07/17: Springboot 2.0.0.M3 released on SDKMAN! #springboot================================================================================Usage: sdk <command> [candidate] [version]       sdk offline <enable|disable>   commands:       install   or i    <candidate> [version]       uninstall or rm   <candidate> <version>       list      or ls   [candidate]       use       or u    <candidate> [version]       default   or d    <candidate> [version]       current   or c    [candidate]       upgrade   or ug   [candidate]       version   or v       broadcast or b       help      or h       offline           [enable|disable]       selfupdate        [force]       flush             <candidates|broadcast|archives|temp>   candidate  :  the SDK to install: groovy, scala, grails, gradle, kotlin, etc.                 use list command for comprehensive list of candidates                 eg: $ sdk list   version    :  where optional, defaults to latest stable if not provided                 eg: $ sdk install groovy

$ sdk-bash: sdk: command not found



《gradle 用户指南中文版》目录