# pkl を Homebrew, MacPorts, Nix, winget でインストール

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

## インストール

```sh
sudo av install brew:pkl
```

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

### macOS

- Homebrew (100%):

```sh
brew install pkl
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pkl
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#pkl
```

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

### Windows

- winget (92%):

```sh
winget install --id Apple.Pkl -e
```

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

## パッケージ情報

- **パッケージキー:** brew:pkl
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/pkl>
- **バージョン:** 0.32.1
- **ソース概要:** CLI for the Pkl programming language
- **ホームページ:** <https://pkl-lang.org>
- **リポジトリ:** <https://github.com/apple/pkl>
- **上流ドキュメント:** <https://pkl-lang.org>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/apple/pkl/archive/refs/tags/0.32.1.tar.gz>
- **最終更新:** 2026-07-23T19:58:23Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- gradle
- openjdk@21

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.32.1
- マネージャ更新日: 2026-07-23
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/apple/pkl
- 検出された最新: 0.32.1 (最新)

## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal


## 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

- Unix: PklProject, PklProject.deps.json, ~/.pkl/settings.pkl
## ソースデータベース詳細

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

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

- Nix - pkl: normalized package name match | nixpkgs package indexes: pkgs/by-name/pk/pkl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - pkl: normalized package name match | MacPorts ports tree: lang/pkl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - Apple.Pkl: normalized package name match | Windows Package Manager source index: Apple.Pkl from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openjdk@21](https://pkg.so/ja/brew/openjdk-21/) - Build dependency declared by Homebrew.
- [gradle](https://pkg.so/ja/brew/gradle/) - Build dependency declared by Homebrew.
- [jsonnet](https://pkg.so/ja/brew/jsonnet/) - Shares pkgdb curated category or tags: cli, configuration, configuration-language, developer-tools.
- [jrsonnet](https://pkg.so/ja/brew/jrsonnet/) - Shares pkgdb curated category or tags: cli, configuration, configuration-language, developer-tools.
- [gomplate](https://pkg.so/ja/brew/gomplate/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [yamlfmt](https://pkg.so/ja/brew/yamlfmt/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [conftest](https://pkg.so/ja/brew/conftest/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [markdownlint-cli2](https://pkg.so/ja/brew/markdownlint-cli2/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [sheldon](https://pkg.so/ja/brew/sheldon/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [go-jsonnet](https://pkg.so/ja/brew/go-jsonnet/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [pkl-lsp](https://pkg.so/ja/brew/pkl-lsp/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, language, pkl.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
