# when を Homebrew, apk, apt, MacPorts, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:when
```

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

### macOS

- Homebrew (100%):

```sh
brew install when
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install when
```

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

### Linux

- apk (92%):

```sh
sudo apk add when
```

  証拠: Alpine Linux edge package indexes: when from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install when
```

  証拠: Debian stable package indexes: when from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#when
```

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

- pacman (92%):

```sh
sudo pacman -S when
```

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

## パッケージ情報

- **パッケージキー:** brew:when
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.45
- **ソース概要:** Tiny personal calendar
- **ホームページ:** <https://www.lightandmatter.com/when/when.html>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- when (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

When is Ben Crowell's minimal personal calendar program for Unix users who prefer text files and terminal commands over larger personal-information-manager applications. The official page describes it as extremely simple, dependency-free beyond Perl, and editable in a favorite text editor.

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

The reproduced man page and source identify Ben Crowell as the author and give a copyright range beginning in 2003. The page's included man page is for When 1.1.46 dated 21 December 2011, while the Bitbucket repository now carries the source history and tags.

Bitbucket repository metadata shows the current public repository was created in January 2023, but tags exposed through the Bitbucket API include version 1.1.30 in January 2013 and later 1.1.39 through 1.1.45 releases from 2020 to 2022. The project therefore predates its current hosting location.

### 採用の歴史

When's official page documents packaging across traditional Unix-like systems, including Debian and Ubuntu, Gentoo, FreeBSD, and Slackware-family packaging. That adoption pattern fits the tool's design: a small Perl script with no library dependencies is easy for distributions and ports trees to carry.

### 使われ方

The basic workflow is to run when, let it create initial setup information, edit the plain-text calendar with when e, and then run when to print upcoming items. The default report covers the next two weeks, while commands can show weekly, monthly, or yearly ranges, wall-calendar grids, the current date, or modified Julian days.

Calendar entries are simple text lines such as a date followed by a comma and description. The program also supports recurring date expressions, language handling, UTF-8 input, pager and terminal styling options, and a prefilter mechanism for splitting larger calendars through tools such as m4.

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

When is package-nerd significant as a small, inspectable Unix productivity tool: it stores user data in text, delegates editing to the user's editor, and avoids library dependencies. It is the kind of program that survives in package archives because it is easy to understand, easy to patch, and compatible with old-school shell workflows.

### タイムライン

- 2003: The copyright range in the official man page and source begins.
- 2011-12-21: The official page reproduces the When 1.1.46 man page dated this day.
- 2013-01-10: Bitbucket tag metadata records version 1.1.30.
- 2020-2022: Bitbucket tag metadata records versions 1.1.39 through 1.1.45.
- 2023-01-25: The current Bitbucket repository metadata records repository creation.

### Related projects

- Traditional Unix calendar/reminder tools, plain-text personal information managers, and editor-centered workflows are the closest relatives.
- iCalendar and vCalendar are mentioned by the official page as formats for possible external converters rather than native storage formats.

### ソース

- <https://api.bitbucket.org/2.0/repositories/ben-crowell/when>
- <https://bitbucket.org/ben-crowell/when>
- <https://www.lightandmatter.com/personal/>
- <https://www.lightandmatter.com/when/when.html>


## セキュリティノート

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: ~/.when/preferences, ~/.when/calendar
## 他のパッケージマネージャ記録

- Debian apt - when - 1.1.45-1: normalized package name match | Debian stable package indexes: when from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tiny personal calendar | https://www.lightandmatter.com/when/when.html
- Nix - when: normalized package name match | nixpkgs package indexes: pkgs/by-name/wh/when/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - when - 1.1.45-1: normalized package name match | Ubuntu 24.04 LTS package indexes: when from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tiny personal calendar | https://www.lightandmatter.com/when/when.html
- apk - when - 1.1.45-r1: normalized package name match | Alpine Linux edge package indexes: when from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Extremely simple personal calendar program | https://www.lightandmatter.com/when/when.html
- apk - when-doc - 1.1.45-r1: normalized package name match | Alpine Linux edge package indexes: when-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Extremely simple personal calendar program (documentation) | https://www.lightandmatter.com/when/when.html
- pacman - when - 1.1.45-2: normalized package name match | Arch Linux sync databases: when from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A simple commandline personal calendar program | http://www.lightandmatter.com/when/when.html
- MacPorts - when: normalized package name match | MacPorts ports tree: sysutils/when/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/when.yml](https://github.com/mxcl/pkgdb/blob/main/combined/when.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
