百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

homebrew-dart

> 编程语言
开源

Dart 团队的官方应用,用于自制应用。

169 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Dart 团队的官方应用,用于自制应用。

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 and trust this tap:

bash
brew tap "dart-lang/dart"
brew trust "dart-lang/dart"

Installing

To install the Dart SDK:

bash
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:

bash
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:

bash
brew install dart --head

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

bash
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).

Issues· 2 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言