# diesel を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:diesel
```

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

### macOS

- Homebrew (100%):

```sh
brew install diesel
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:diesel
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/diesel>
- **バージョン:** 2.3.11
- **ソース概要:** Command-line tool for Rust ORM Diesel
- **ホームページ:** <https://diesel.rs>
- **リポジトリ:** <https://github.com/diesel-rs/diesel>
- **上流ドキュメント:** <https://diesel.rs>
- **ライセンス:** Apache-2.0 OR MIT
- **ソースアーカイブ:** <https://github.com/diesel-rs/diesel/archive/refs/tags/v2.3.11.tar.gz>
- **最終更新:** 2026-07-10T07:04:39Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- libpq
- mariadb-connector-c

## ビルド依存関係

- rust

## macOS 提供ライブラリ

- sqlite

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.3.11
- マネージャ更新日: 2026-07-10
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/diesel-rs/diesel
- 検出された最新: v2.3.11 (最新)
## プロジェクトの歴史と使われ方

Diesel is a Rust ORM, query builder, and migration toolchain with a Homebrew-packaged CLI. Its public identity is type-safe database interaction for PostgreSQL, MySQL, and SQLite.

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

The Diesel repository was created in 2015 and describes the project as a safe, extensible ORM and query builder for Rust. Its README emphasizes reducing database boilerplate while using Rust's type system to catch query errors at compile time.

The official guide places the CLI in the normal project workflow: set DATABASE_URL in .env, run diesel setup, generate migrations, and let diesel.toml guide generated schema output.

### 採用の歴史

Diesel grew with the Rust ecosystem as one of the main answers for developers who wanted SQL databases without giving up Rust's compile-time checks. The project publishes crates, API docs, guides, and frequent GitHub releases, which makes it natural for both Cargo and system package managers.

### 使われ方

Developers use the diesel CLI to set up projects, manage migrations, and generate schema files, while application code uses Diesel's derive macros and query builder. The common local convention is a project diesel.toml plus a .env file containing DATABASE_URL.

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

For package nerds, Diesel is notable because the Homebrew formula exposes only the CLI, but that binary is the operational face of a larger Rust crate ecosystem and database-migration workflow.

### タイムライン

- 2015: The diesel-rs/diesel GitHub repository is created.
- 2025: Diesel 2.3.x releases continue active maintenance.
- 2026: Diesel 2.3.10 is published on GitHub releases.

### Related projects

- The diesel crate, diesel_cli, docs.rs API docs, and PostgreSQL, MySQL, and SQLite backends are the main adjacent pieces.

### ソース

- <https://github.com/diesel-rs/diesel>
- <https://api.github.com/repos/diesel-rs/diesel>
- <https://raw.githubusercontent.com/diesel-rs/diesel/master/README.md>
- <https://diesel.rs/guides/getting-started>
- <https://api.github.com/repos/diesel-rs/diesel/releases>


## セキュリティノート

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: diesel.toml, .env

## Credential files

- Unix: .env
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** diesel
- **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


## 関連リンク

- [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.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [libpq](https://pkg.so/ja/brew/libpq/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [neonctl](https://pkg.so/ja/brew/neonctl/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [liquibase](https://pkg.so/ja/brew/liquibase/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [eralchemy](https://pkg.so/ja/brew/eralchemy/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [chdig](https://pkg.so/ja/brew/chdig/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [dbhash](https://pkg.so/ja/brew/dbhash/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [memtier_benchmark](https://pkg.so/ja/brew/memtier-benchmark/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [pgrx](https://pkg.so/ja/brew/pgrx/) - Shares pkgdb curated category or tags: cli, database, developer-tools, rust.
- [jet](https://pkg.so/ja/brew/jet/) - Local metadata places this package in an adjacent workflow. Shared terms: builder, cli, database, developer, developer-tools.
- [sqlx-cli](https://pkg.so/ja/brew/sqlx-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, database, developer, developer-tools.

## Combined YAML source

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


## ソース

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