• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

dart-lang/homebrew-dart: Dart team's official tap for homebrew.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

dart-lang/homebrew-dart

开源软件地址:

https://github.com/dart-lang/homebrew-dart

开源编程语言:

Ruby 76.6%

开源软件介绍:

Dart for Homebrew

This is the official Dart tap for homebrew.

Mac users can use these formulae to easily install and update Dart SDK. Both dev and stable channels are supported.

Initial setup

If you don't have homebrew, install it from their homepage.

Then, add this tap:

brew tap dart-lang/dart

Installing

To install the Dart SDK:

brew install dart

Tip: Once installed, homebrew will print the path to the Dart SDK. Use this path to configure Dart support in your IDE (like WebStorm).

Updating

Simply run:

brew update
brew upgrade dart

Dev Releases

To install dev channel releases, instead of the stable ones, add a --head flag after the brew commands:

brew install dart --head

Note, when updating dev releases, homebrew doesn't always update to the latest version (see Homebrew/legacy-homebrew#13197). In order to upgrade to the latest dev release, run:

brew reinstall dart

Specific stable versions

To install a specific dart version run brew install [email protected]. This installs the latest 2.8 release including security patches, i.e. 2.8.1.

To use the specific version in your IDE or in scripts use the SDK you find under /usr/local/opt/[email protected]/libexec.

It is supported to install multiple dart versions in parallel. The dart executable in PATH will continue to link to the dart or dart-beta formula. Installing [email protected] alone doesn't add the dart executable to the user PATH.

SDK path

Many tools, such as editors, ask you to specify the Dart SDK installation directory. After installing via homebrew you can use the path HOMEBREW_INSTALL/opt/dart/libexec, where HOMEBREW_INSTALL is the path to your homebrew installation directory (running brew --prefix on the command line will display it).




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
staticfloat/homebrew-julia: small repository to install julia发布时间:2022-06-14
下一篇:
Homebrew/homebrew-cask-eid: 发布时间:2022-06-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap