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

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

## インストール

```sh
sudo av install brew:leaf
```

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

### macOS

- Homebrew (100%):

```sh
brew install leaf
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install leaf
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/leaf
```

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

## パッケージ情報

- **パッケージキー:** brew:leaf
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.3.0
- **ソース概要:** General purpose reloader for all projects
- **ホームページ:** <https://pkg.go.dev/github.com/vrongmeal/leaf>
- **リポジトリ:** <https://github.com/vrongmeal/leaf>
- **最終更新:** 2026-07-27T15:17:52+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- leaf (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

leaf is a small Go hot-reloader for command-line development workflows. It watches a project directory and runs configured commands when files change, making it a lightweight alternative to framework-specific reloaders.

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

The public GitHub tags show leaf reaching v1.0.0 on February 23, 2020. The project evolved quickly in early 2020 with Cobra/Viper command-line configuration, a v1.2.0 internal rewrite around process contexts, and v1.3.0 in September 2020.

### 採用の歴史

Adoption evidence is modest and package-manager oriented: Homebrew, MacPorts, and Scoop package it as a general-purpose reloader rather than as a tool tied to one language framework.

### 使われ方

The CLI watches the working directory, applies include/exclude filters, and runs one or more commands on file updates. Its default config path is <CWD>/.leaf.yml, which keeps it close to the project being reloaded.

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

leaf is notable as a tiny cross-project hot-reload utility in the Go ecosystem: useful for package collections because it occupies the space between language-specific dev servers and larger file-watcher automation tools.

### タイムライン

- 2020-02-23: v1.0.0 tag published.
- 2020-04-21: v1.2.0 tag described a major internal rewrite around process contexts.
- 2020-09-12: v1.3.0 tag added command-line behavior refinements.

### Related projects

- Related tools include file-watcher and rebuild utilities such as entr, watchexec, reflex, air, and nodemon.

### ソース

- <https://formulae.brew.sh/formula/leaf>
- <https://github.com/vrongmeal/leaf>
- <https://github.com/vrongmeal/leaf/tags>
- <https://pkg.go.dev/github.com/vrongmeal/leaf>


## セキュリティノート

leaf に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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: <CWD>/.leaf.yml
## 他のパッケージマネージャ記録

- MacPorts - leaf: normalized package name match | MacPorts ports tree: sysutils/leaf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/leaf: normalized package name match | Scoop official bucket manifest trees: bucket/leaf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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