Mac安装Dart SDK

2019-04-17  本文已影响0人  xmb

Mac安装Dart的SDK

  1. 使用Homebrew安装,执行以下:
$ brew tap dart-lang/dart
$ brew install dart

结果:

$ brew tap dart-lang/dart
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
faudio              phpstan             vapoursynth-imwri   vapoursynth-sub
kahip               terrahub            vapoursynth-ocr
==> Updated Formulae
amazon-ecs-cli             imagemagick                operator-sdk
arangodb                   jenkins                    pbrt
asciidoctor                jetty                      php-cs-fixer
autojump                   kibana@5.6                 pilosa
autopep8                   lastpass-cli               prometheus
bdw-gc                     libmicrohttpd              pulumi
bit                        libpng                     pushpin
btfs                       libpulsar                  rawtoaces
ctl                        libssh                     rclone
cython                     libtorrent-rasterbar       ripgrep
digdag                     libvmaf                    root
erlang                     maven                      s-nail
field3d                    memcached                  ship
fluxctl                    n                          skaffold
glfw                       nano                       swiftformat
glib                       nats-streaming-server      synfig
goaccess                   nginx                      telegraf
gradle                     nomad                      tomcat
graphene                   ocamlbuild                 topgrade
hadoop                     opencv                     triton
helmfile                   opencv@2                   vapoursynth
hexyl                      opencv@3                   vault
hugo                       openexr                    vips
iamy                       openimageio                xonsh
ilmbase                    openvdb                    youtube-dl
==> Deleted Formulae
safe

==> Tapping dart-lang/dart
Cloning into '/usr/local/Homebrew/Library/Taps/dart-lang/homebrew-dart'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 1), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
Tapped 3 formulae (35 files, 33.1KB).

# moka @ bogon in ~ [15:16:27] 
$ brew install dart
==> Installing dart from dart-lang/dart
==> Downloading https://storage.googleapis.com/dart-archive/channels/stable/rele
######################################################################## 100.0%
==> Caveats
Please note the path to the Dart SDK:
  /usr/local/opt/dart/libexec
==> Summary
🍺  /usr/local/Cellar/dart/2.2.0: 340 files, 281.4MB, built in 54 seconds

Dart安装路径:/usr/local/opt/dart/libexec

  1. 查看Dart信息 $ brew info dart
$ brew info dart
dart-lang/dart/dart: stable 2.2.0, devel 2.2.1-dev.4.2
The Dart SDK
https://www.dartlang.org/
/usr/local/Cellar/dart/2.2.0 (340 files, 281.4MB) *
  Built from source on 2019-04-17 at 15:17:46
From: https://github.com/dart-lang/homebrew-dart/blob/master/dart.rb
==> Options
--devel
    Install development version 2.2.1-dev.4.2
==> Caveats
Please note the path to the Dart SDK:
  /usr/local/opt/dart/libexec
上一篇下一篇

猜你喜欢

热点阅读