关闭

1.1 springboot cli 安装

522人阅读 评论(0) 收藏 举报
分类:

centos 7:

java 8 



先安装sdkman :

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

然后sdk install springboot 


如果提示:

This command is not available while offline.

则执行 :sdk  offline disable.


如果提示:

 Some functionality is disabled or only partially available.
 If this persists, please enable the offline mode:

就执行 sdk offline enable.


如果提示:

xxx not a validate candidates

或者一直不行 :

就执行:
sdk flush candidates





先安装sdkman :

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
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:263729次
    • 积分:6284
    • 等级:
    • 排名:第4184名
    • 原创:362篇
    • 转载:195篇
    • 译文:0篇
    • 评论:14条
    最新评论