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

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

## インストール

```sh
sudo av install brew:electric
```

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

### macOS

- Homebrew (100%):

```sh
brew install electric
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install electric
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install electric
```

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

## パッケージ情報

- **パッケージキー:** brew:electric
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.7.9
- **ソース概要:** Real-time sync for Postgres
- **ホームページ:** <https://electric-sql.com>
- **リポジトリ:** <https://github.com/electric-sql/electric>
- **最終更新:** 2026-07-30T12:26:58Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- electric (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Electric is an open-source Postgres sync engine. It focuses on syncing data out of Postgres into local clients over HTTP, using Shapes for partial replication and client libraries or framework integrations for consumption.

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

The electric-sql/electric repository was created in June 2022. The project grew around the local-first application problem: keeping local UI state fast while retaining Postgres as the source database.

Electric's own 1.0 release notes describe a major 2024 rebuild that made the sync engine simpler, faster, more reliable, and more scalable. The project reached beta in December 2024 and then announced 1.0 general availability in March 2025 with stable APIs for the core sync service.

### 採用の歴史

Electric's adoption story is tied to production local-first and real-time workloads rather than traditional database administration. The 1.0 announcement cites production users, managed Electric Cloud, open-source users, and workloads that process large volumes of sync traffic.

The project has also broadened through integrations and examples: the official docs list TypeScript clients, React integration, framework integrations, deployment guides, demos, and the related PGlite project.

### 使われ方

A typical Electric setup runs the sync service in front of a Postgres database with logical replication enabled and a `DATABASE_URL`. Clients consume the HTTP API directly or through libraries such as the TypeScript client and React hooks.

Developers use Electric when they want local-first or real-time application behavior without writing their own fan-out, partial replication, and data delivery layer. The README highlights Shapes as the primitive for selecting the subset of Postgres data to sync.

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

Electric is package-nerd interesting because it packages database synchronization as a developer-service CLI/runtime rather than a framework-only library. It sits at the intersection of Postgres, local-first apps, HTTP APIs, client packages, and deployment tooling.

### タイムライン

- 2022: GitHub repository created.
- 2024: Electric rebuilt around a simpler, faster sync engine.
- 2024: Beta announced with production users and updated docs.
- 2025: Electric 1.0 released with stable sync service APIs.

### Related projects

- Electric is related to Postgres logical replication, PGlite, TanStack integrations, Phoenix integrations, local-first data libraries, and real-time sync systems such as Replicache or custom WebSocket fan-out services.

### ソース

- <https://github.com/electric-sql/electric>
- <https://raw.githubusercontent.com/electric-sql/electric/main/README.md>
- <https://electric-sql.com/docs>
- <https://electric-sql.com/blog/2025/03/17/electricsql-1.0-released>
- <https://api.github.com/repos/electric-sql/electric>


## セキュリティノート

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


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

- Debian apt - electric - 9.07+dfsg-7: normalized package name match | Debian stable package indexes: electric from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | electrical CAD system | http://www.staticfreesoft.com/productsFree.html
- Ubuntu apt - electric - 9.07+dfsg-7: normalized package name match | Ubuntu 24.04 LTS package indexes: electric from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | electrical CAD system | http://www.staticfreesoft.com/productsFree.html
- MacPorts - electric: normalized package name match | MacPorts ports tree: graphics/electric/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/electric.yml](https://github.com/mxcl/pkgdb/blob/main/combined/electric.yml)


## ソース

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