# Install dartaotruntime with Homebrew, apk

Command-line tool for running AOT-compiled snapshots of Dart code. Version 3.12.2 via Homebrew; verified 2026-06-09.

## Install

```sh
sudo av install brew:dartaotruntime
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dartaotruntime
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dartaotruntime
```

  Evidence: Alpine Linux edge package indexes: dartaotruntime from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

## Package facts

- **Package key:** brew:dartaotruntime
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dartaotruntime>
- **Version:** 3.12.2
- **Source summary:** Command-line tool for running AOT-compiled snapshots of Dart code
- **Homepage:** <https://dart.dev/tools/dartaotruntime>
- **Repository:** <https://github.com/dart-lang/sdk>
- **Upstream docs:** <https://dart.dev/tools/dartaotruntime>
- **License:** BSD-3-Clause
- **Source archive:** <https://raw.githubusercontent.com/dart-lang/sdk/refs/tags/3.12.2/README.md>
- **Last updated:** 2026-06-09T17:16:08Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dartaotruntime (cli)
- dartaotruntime (alias)

## Build dependencies

- ninja

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.12.2
- Package-manager updated: 2026-06-09
- Local data: ok
- Upstream repository: https://dart.dev/tools/dartaotruntime
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

`dartaotruntime` is the Dart SDK tool for running AOT-compiled Dart snapshots. As a package, it is the small runtime-side companion to `dart compile aot-snapshot`, useful when a system wants to run compiled Dart artifacts without installing or invoking the broader developer workflow.

### Project history

The tool belongs to the Dart SDK rather than a separate upstream project. Its history follows Dart's shift toward ahead-of-time compilation targets, where code can be compiled into a snapshot and then executed by a dedicated runtime command.

Official Dart documentation presents `dartaotruntime` as the command-line runner for AOT snapshots, paired with the `dart compile aot-snapshot` compiler mode. Package managers that split it out are packaging a narrow execution tool from the larger Dart SDK source tree.

### Adoption history

Adoption is niche compared with the full Dart SDK: most developers install `dart`, while deployment or packaging workflows may prefer the smaller AOT runtime. Its presence as a separate formula is useful for systems that only need to execute precompiled snapshots.

### How it is used

The normal workflow is to compile Dart code with `dart compile aot-snapshot` and run the resulting snapshot with `dartaotruntime`. It has no independent project config or credential store; those concerns belong to Dart projects and pub, not this runtime command.

### Why package nerds care

`dartaotruntime` is interesting because it exposes a packaging boundary inside the Dart SDK. It lets distributions separate a runtime for AOT artifacts from the larger compiler and package-manager toolchain, which matters for smaller images and runtime-only deployments.

### Timeline

- Dart SDK era: AOT snapshot compilation became an official `dart compile` target.
- Present: `dartaotruntime` is documented as the official command for running AOT snapshots.

### Related projects

- The tool is directly related to the Dart SDK, the `dart compile aot-snapshot` command, and deployment workflows that package Dart snapshots rather than source projects.

### Sources

- <https://dart.dev/tools/dartaotruntime>
- <https://dart.dev/tools/dart-compile>
- <https://dart.dev/tools/sdk>
- <https://github.com/dart-lang/sdk>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dartaotruntime
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- apk - dartaotruntime - 3.10.3-r1: normalized package name match | Alpine Linux edge package indexes: dartaotruntime from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Dart is a client-optimized language for fast apps on any platform | https://dart.dev/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [dart-sass](https://www.automicvault.com/pkg/brew/dart-sass/) - Popular package that depends on this formula.
- [fvm](https://www.automicvault.com/pkg/brew/fvm/) - Popular package that depends on this formula.
- [bigloo](https://www.automicvault.com/pkg/brew/bigloo/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [chezscheme](https://www.automicvault.com/pkg/brew/chezscheme/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [chicken](https://www.automicvault.com/pkg/brew/chicken/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [clozure-cl](https://www.automicvault.com/pkg/brew/clozure-cl/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [dart-sdk](https://www.automicvault.com/pkg/brew/dart-sdk/) - Shares av.db curated category or tags: cli, dart, language-runtime.
- [deno](https://www.automicvault.com/pkg/brew/deno/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [dotnet](https://www.automicvault.com/pkg/brew/dotnet/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [duktape](https://www.automicvault.com/pkg/brew/duktape/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [graalvm](https://www.automicvault.com/pkg/brew/graalvm/) - Local package facts share a topical domain. Shared terms: aot, cli, language, language-runtime, runtime.

## Combined YAML source

View the package source record on GitHub. [combined/dartaotruntime.yml](https://github.com/automic-vault/db/blob/main/combined/dartaotruntime.yml)


## Sources

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