# cask を Homebrew, MacPorts でインストール

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

## インストール

```sh
sudo av install brew:cask
```

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

### macOS

- Homebrew (100%):

```sh
brew install cask
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cask
```

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

## パッケージ情報

- **パッケージキー:** brew:cask
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.9.1
- **ソース概要:** Emacs dependency management
- **ホームページ:** <https://cask.readthedocs.io/>
- **リポジトリ:** <https://github.com/cask/cask>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cask (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Cask is an Emacs Lisp project-management and dependency tool centered on a project-local `Cask` file. It helped Emacs package authors declare dependencies, run commands in an isolated package environment, and build packages from the command line.

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

The public repository was created in 2012 and later moved under the cask GitHub organization. Official documentation describes Cask as dependency management for Emacs and documents a small domain-specific language for package metadata and dependencies.

### 採用の歴史

Cask became part of the Emacs package-author toolchain during the period when package.el, MELPA, and CI workflows were becoming common. Its presence in Homebrew and MacPorts made it easy for package maintainers to install the same command-line tool used in project automation.

Homebrew analytics show continued use despite the project's age, with 27,894 stable installs in the last 365 days in the formula API.

### 使われ方

A project declares dependencies in a file named `Cask`; users then run commands such as `cask install`, `cask exec`, `cask emacs`, `cask build`, and `cask package`. The DSL reference covers package metadata and dependency declarations.

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

Cask matters to package nerds because it brought Bundler-style dependency declarations and repeatable command execution to Emacs Lisp projects, making Emacs packages easier to test and publish from CI and shell scripts.

### タイムライン

- 2012: Public GitHub repository created.
- 2010s: Cask documented as an Emacs dependency-management CLI with a project-local DSL.
- 2026: Homebrew packages v0.9.1 and reports continuing install activity.

### Related projects

- Emacs package.el and MELPA are the broader package ecosystem that Cask projects usually target.
- Homebrew and MacPorts distribute the Cask command-line tool on macOS.

### ソース

- <https://api.github.com/repos/cask/cask>
- <https://github.com/cask/cask>
- <https://cask.readthedocs.io/>
- <https://cask.readthedocs.io/en/latest>
- <https://formulae.brew.sh/api/formula/cask.json>


## セキュリティノート

narrow executable package without higher-risk signals.

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


## 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: Cask
## 他のパッケージマネージャ記録

- MacPorts - cask: normalized package name match | MacPorts ports tree: devel/cask/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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