Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, MacPorts, winget, Nix, pacman, apt, scoop 安装 dart-sdk

查看 dart-sdk 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dart-sdk

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dart-sdk

MacPorts ports tree · lang/dart-sdk/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add dart-sdk

Alpine Linux edge package indexes · dart-sdk · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#dart

nixpkgs package indexes · dart · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S dart

Arch Linux sync databases · dart · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install dart-doc

Debian stable package indexes · dart-doc · 来源: deb.debian.org

Windows

Chocolatey已验证 · 92%
choco install dart-sdk

Chocolatey community package catalog · dart-sdk · 来源: community.chocolatey.org

Windows Package Manager已验证 · 92%
winget install --id Google.DartSDK -e

Windows Package Manager source index · Google.DartSDK · 来源: cdn.winget.microsoft.com

Scoop已验证 · 92%
scoop install main/dart

Scoop official bucket manifest trees · bucket/dart.json · 来源: api.github.com

概览

软件包摘要

Dart Language SDK, including the VM, dart2js, core libraries, and more

历史

项目历史与用法

The Dart SDK is the main distribution of the Dart programming language: the VM, compilers, core libraries, package tooling, and command-line tools installed as the `dart` command. In package-manager culture it is both a language runtime and the gateway to Dart's build, compile, and package workflows.

项目历史

Dart was introduced by Google as a structured language for building client applications, and the SDK became the standard way to obtain the VM, analyzer, compilers, and core command-line tooling. The SDK's role expanded as Dart grew from browser-focused ambitions into the runtime and toolchain behind Flutter and server-side Dart workflows.

The official SDK documentation frames the package as a bundle of libraries and command-line tools, including `dart`, `dart analyze`, `dart compile`, and pub package management. That makes the SDK more than a runtime package: it is the thing downstream packages use to build, test, publish, and execute Dart code.

采用历史

Dart SDK adoption is tied closely to Flutter and to Dart's own package ecosystem. As Flutter made Dart a mainstream mobile and cross-platform application language, installing a current SDK became a routine prerequisite for CI systems, editors, and package build environments.

Dart 3 reinforced the SDK's package-manager significance by making sound null safety and modern language behavior the baseline for new tooling. Formula and package updates can therefore affect language compatibility, analyzer behavior, package resolution, and generated artifacts.

使用方式

Typical usage starts with the `dart` command: creating projects, running programs, managing dependencies through pub, analyzing code, testing packages, and compiling executables or snapshots. Project configuration normally lives in `pubspec.yaml`, with local overrides in `pubspec_overrides.yaml` and pub authentication tokens stored in the Dart user configuration area.

为什么软件包爱好者会关心

The SDK is important to package nerds because it sits at the boundary between runtime, compiler, package manager, and language version. A small SDK version change can alter pub resolution, compiler output, analyzer diagnostics, and compatibility with generated Flutter or server artifacts.

时间线

  • 2013: Dart 1.0 was announced as a stable SDK release.
  • 2023: Dart 3 made sound null safety and newer language semantics the stable baseline.
  • Present: The SDK remains the official distribution for Dart command-line tools, compilers, VM, and package workflows.

Related projects

  • The Dart SDK is closely related to Flutter, pub.dev packages, the `pub` package manager built into the `dart` command, and the `dartaotruntime` tool used for running AOT-compiled snapshots.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
pubspec.yamlpubspec_overrides.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
$XDG_CONFIG_HOME/dart/pub-tokens.json~/.config/dart/pub-tokens.json
macOS
~/Library/Application Support/dart/pub-tokens.json
Windows
%APPDATA%\dart\pub-tokens.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dartcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本3.12.2
管理器更新时间2026-06-09
本地数据OK
上游当前
检测到的最新版本3.12.2

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:dart-sdk
版本3.12.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/dart-sdk
主页https://dart.dev
仓库https://github.com/dart-lang/sdk
上游文档https://dart.dev/guides
许可证BSD-3-Clause
源码归档https://github.com/dart-lang/sdk/archive/refs/tags/3.12.2.tar.gz
最后更新2026-06-09T17:16:08Z
Pulseupdated
构建依赖ninja, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedart-sdk
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

apk95%

dart-sdk 3.10.3-r1

Dart is a client-optimized language for fast apps on any platform (development files)

https://dart.dev/

sudo apk add dart-sdk
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: dart
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Dart Sdk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dart-sdk from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

dart-sdk

sudo port install dart-sdk
  • normalized package name match
  • 匹配方式:Dart Sdk
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/dart-sdk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

dart-sdk

choco install dart-sdk
  • normalized package name match
  • 匹配方式:Dart Sdk
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: dart-sdk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','crystalreports2008runtime'
winget95%

Google.DartSDK

winget install --id Google.DartSDK -e
  • normalized package name match
  • 匹配方式:Dart Sdk
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Google.DartSDK from https://cdn.winget.microsoft.com/cache/source.msix
Debian apt92%

dart-doc 6.13.2+ds-3

Kinematics Dynamics and Optimization Library - Documentation

https://dartsim.github.io/

sudo apt install dart-doc
  • Section: doc
  • Architecture: all
  • Source Package: dart
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dart-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-all-dev 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - All Development Files

https://dartsim.github.io/

sudo apt install libdart-all-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dart
  • 10 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-all-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-collision-bullet-dev 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - Bullet Collision Dev

https://dartsim.github.io/

sudo apt install libdart-collision-bullet-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dart
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-collision-bullet-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-collision-bullet6.13 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - Bullet Collision Library

https://dartsim.github.io/

sudo apt install libdart-collision-bullet6.13
  • Section: libs
  • Architecture: amd64
  • Source Package: dart
  • 5 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-collision-bullet6.13 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-collision-ode-dev 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - ODE Collision Dev

https://dartsim.github.io/

sudo apt install libdart-collision-ode-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dart
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-collision-ode-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-collision-ode6.13 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - ODE Collision Library

https://dartsim.github.io/

sudo apt install libdart-collision-ode6.13
  • Section: libs
  • Architecture: amd64
  • Source Package: dart
  • 5 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-collision-ode6.13 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-dev 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - development files

https://dartsim.github.io/

sudo apt install libdart-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dart
  • 8 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-external-convhull-3d-dev 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - convhull-3d dev

https://dartsim.github.io/

sudo apt install libdart-external-convhull-3d-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dart
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-external-convhull-3d-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-external-ikfast-dev 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - ikfast dev

https://dartsim.github.io/

sudo apt install libdart-external-ikfast-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dart
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-external-ikfast-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-external-imgui-dev 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - imgui dev

https://dartsim.github.io/

sudo apt install libdart-external-imgui-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dart
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-external-imgui-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-external-imgui6.13 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - imgui lib

https://dartsim.github.io/

sudo apt install libdart-external-imgui6.13
  • Section: libs
  • Architecture: amd64
  • Source Package: dart
  • 4 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-external-imgui6.13 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libdart-external-lodepng-dev 6.13.2+ds-3+b1

Kinematics Dynamics and Optimization Library - lodepng dev

https://dartsim.github.io/

sudo apt install libdart-external-lodepng-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dart
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Dart
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdart-external-lodepng-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment