# cue を Homebrew, MacPorts, Nix, pacman, scoop, winget でインストール

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

## インストール

```sh
sudo av install brew:cue
```

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

### macOS

- Homebrew (100%):

```sh
brew install cue
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cue
```

  証拠: MacPorts ports tree: devel/cue/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cue
```

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

- pacman (92%):

```sh
sudo pacman -S cue
```

  証拠: Arch Linux sync databases: cue from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/cue
```

  証拠: Scoop official bucket manifest trees: bucket/cue.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id CueLang.Cue -e
```

  証拠: Windows Package Manager source index: CueLang.Cue from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:cue
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.17.1
- **ソース概要:** Validate and define text-based and dynamic configuration
- **ホームページ:** <https://cuelang.org/>
- **リポジトリ:** <https://github.com/cue-lang/cue>
- **最終更新:** 2026-07-25T14:20:52-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cue (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

CUE is an open-source data validation language, inference engine, and command-line tool for schemas, configuration, policy, and data transformation.

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

The CUE documentation traces the language's roots to GCL, Google's configuration language for Borg, and to graph unification techniques used for large declarative systems. CUE returns to a constraint-based approach where types and values are unified in one model.

### 採用の歴史

The project positions CUE for validation, configuration, querying, code generation, scripting, and integration with formats such as Go, JSON, YAML, TOML, XML, OpenAPI, Protobuf, and JSON Schema. The public cue-lang/cue repository was created in 2021, while the repository README carries copyright notices beginning in 2018.

### 使われ方

The cue command validates data, evaluates CUE files, vets configuration, generates or extracts schemas, and acts as the package's main user-facing interface. Official installation docs include release binaries, source installs, and container images.

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

CUE matters to package maintainers because it is both a language implementation and a standalone CLI used in build, validation, and configuration pipelines. The upstream README explicitly advises downstream packagers to build from git tags so cue version metadata is embedded correctly.

### タイムライン

- 2018: CUE repository README copyright period begins.
- 2021: Public cue-lang/cue repository created on GitHub.
- 2020s: Official docs present CUE as a data validation language and inference engine rooted in GCL and graph unification.

### Related projects

- GCL, Borg, Kubernetes-era configuration systems, Go modules, JSON Schema, OpenAPI, Protobuf.

### ソース

- <https://cuelang.org/docs/>
- <https://cuelang.org/docs/introduction/>
- <https://github.com/cue-lang/cue>
- <https://api.github.com/repos/cue-lang/cue>
- <https://raw.githubusercontent.com/cue-lang/cue/master/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- Nix - cue: normalized package name match | nixpkgs package indexes: pkgs/by-name/cu/cue/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - cue - 0.16.1-1: normalized package name match | Arch Linux sync databases: cue from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Validate and define text-based and dynamic configuration | https://github.com/cue-lang/cue
- MacPorts - cue: normalized package name match | MacPorts ports tree: devel/cue/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/cue: normalized package name match | Scoop official bucket manifest trees: bucket/cue.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - CueLang.Cue: normalized package name match | Windows Package Manager source index: CueLang.Cue from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/cue.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cue.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
