美文网首页
macOS下简单使用brew安装Gradle

macOS下简单使用brew安装Gradle

作者: Deque | 来源:发表于2019-01-13 19:10 被阅读0次

使用brew安装安装:

打开终端输入命令brew install gradle进行安装

aiuiot:~ aiuiot$  brew install gradle
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
chafa
==> Updated Formulae
ammonite-repl   camlp5          glances         moreutils       stubby
angular-cli     direnv          joplin          ngspice         subversion
ark             etcd            knot            php@7.2         tox
bear            faas-cli        knot-resolver   pushpin         wireshark
botan           getdns          mas             python-yq       zeromq

==> Downloading https://services.gradle.org/distributions/gradle-5.1.1-all.zip
==> Downloading from https://downloads.gradle.org/distributions/gradle-5.1.1-all
###################################                                       49.1%

等待下载...

🍺  /usr/local/Cellar/gradle/5.1.1: 13,259 files, 234.9MB, built in 8 minutes 28 seconds
aiuiot:~ aiuiot$

安装成功,默认的安装位置为:
/usr/local/Cellar/gradle/5.1.1

验证是否安装成功:

我们可以通过查看gradle版本验证是否安装,输入命令gradle -v:

 Welcome to Gradle 5.1.1!

出现欢迎信息就代表gradle安装成功了!

相关文章

网友评论

      本文标题:macOS下简单使用brew安装Gradle

      本文链接:https://www.haomeiwen.com/subject/vhyldqtx.html