# starlark-rust を Homebrew, Nix でインストール

starlark-rust のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:starlark-rust
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install starlark-rust
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#starlark-rust
```

  証拠: nixpkgs package indexes: pkgs/by-name/st/starlark-rust/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:starlark-rust
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.14.0
- **ソース概要:** Rust implementation of the Starlark language
- **ホームページ:** <https://github.com/facebook/starlark-rust>
- **リポジトリ:** <https://github.com/facebook/starlark-rust>
- **最終更新:** 2026-06-01T14:43:06Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- starlark (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.14.0
## プロジェクトの歴史と使われ方

Starlark in Rust is Meta's Rust implementation of the Starlark configuration language, with a command-line binary that can run a REPL, evaluator, linter, and IDE-related tooling for standard Starlark.

### プロジェクトの歴史

The README states that facebook/starlark-rust is the canonical repository and that the project was started by Damien Martin-Guillerez. It also notes that version 0.4.0 changed ownership from Google to Meta.

The project exists in the ecosystem of Starlark implementations used by build systems. The README names Bazel, Buck, and Buck2 as Starlark users and says Buck2 depends on this library.

### 採用の歴史

The input package facts show the project packaged for Homebrew and Nix, making the `starlark` binary available outside Rust's Cargo ecosystem.

Adoption is mostly developer-infrastructure adoption rather than end-user CLI adoption: most consumers embed the Rust library into build and configuration systems, while the packaged binary is useful for experiments, linting, and basic standard-Starlark evaluation.

### 使われ方

The README describes six components, including parser, evaluator, derive macros, map structures, LSP support, and `starlark_bin`, the binary exposed through the command line.

The README cautions that most Starlark embeddings add domain-specific functions and data types, so the packaged binary is most useful as a vanilla Starlark test bed or linter rather than a drop-in evaluator for every Starlark file from a large build system.

### パッケージ好きにとっての重要性

Package maintainers care about starlark-rust because Starlark is configuration language infrastructure. A standalone packaged interpreter/linter gives developers a way to test and inspect Starlark without installing a full build system.

The project is also notable because it bridges Rust packaging, language tooling, and build-system internals: the CLI is small enough to package, while the library is significant because Buck2 depends on it.

### タイムライン

- 2021: Public GitHub issue #1 discussed compatibility with the Starlark specification.
- v0.4.0: README says ownership changed from Google to Meta.
- 2026: GitHub repository page lists version 0.14 as the latest release.

### Related projects

- Related projects include the Java and Go Starlark implementations, Bazel, Buck, and Buck2.
- The README says the Rust implementation mostly follows the Starlark standard while documenting known compatibility differences.

### ソース

- <https://github.com/facebook/starlark-rust#readme>
- <https://github.com/facebook/starlark-rust/issues/1>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - starlark-rust: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/starlark-rust/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - starlark: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/st/starlark/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/starlark-rust.yml](https://github.com/mxcl/pkgdb/blob/main/combined/starlark-rust.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
