# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cue>
- **バージョン:** 0.17.1
- **ソース概要:** Validate and define text-based and dynamic configuration
- **ホームページ:** <https://cuelang.org/>
- **リポジトリ:** <https://github.com/cue-lang/cue>
- **上流ドキュメント:** <https://cuelang.org/>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/cue-lang/cue.git>
- **最終更新:** 2026-07-25T14:20:52-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cue (cli)
- cue (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.17.1
- マネージャ更新日: 2026-07-25
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/cue-lang/cue
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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

## ソースデータベース詳細

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

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

- 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


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [chaiscript](https://pkg.so/ja/brew/chaiscript/) - Shares pkgdb curated category or tags: cli, language, language-runtime.
- [node](https://pkg.so/ja/brew/node/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [python@3.13](https://pkg.so/ja/brew/python-3-13/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [gcc](https://pkg.so/ja/brew/gcc/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [pyenv](https://pkg.so/ja/brew/pyenv/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [openjdk](https://pkg.so/ja/brew/openjdk/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [io](https://pkg.so/ja/brew/io/) - Local package facts share a topical domain. Shared terms: based, cli, dynamic, language, language-runtime.
- [nickel](https://pkg.so/ja/brew/nickel/) - Local package facts share a topical domain. Shared terms: cli, configuration, language, language-runtime, runtime.
- [befunge93](https://pkg.so/ja/brew/befunge93/) - Local package facts share a topical domain. Shared terms: based, cli, language, language-runtime, runtime.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
