Automic VaultAutomic Vault

brew

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

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install electric

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install electric

MacPorts ports tree · graphics/electric/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install electric

Debian stable package indexes · electric · ソース: deb.debian.org

概要

パッケージ概要

Real-time sync for Postgres

コマンドとエイリアス

  • electric

履歴

プロジェクトの歴史と使われ方

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.

セキュリティ状態

保護ツール対応はまだ見つかっていません

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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
electriccliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.7.8
マネージャ更新日2026-07-22
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/electric-sql/electric

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:electric
バージョン1.7.8
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/electric
ホームページhttps://electric-sql.com
リポジトリhttps://github.com/electric-sql/electric
上流ドキュメントhttps://electric-sql.com/docs
ライセンスApache-2.0
ソースアーカイブhttps://github.com/electric-sql/electric/archive/refs/tags/@core/sync-service@1.7.8.tar.gz
最終更新2026-07-22T16:03:49Z
Pulseupdated
依存関係openssl@3
ビルド依存関係elixir, erlang@28
macOS 提供ライブラリncurses
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameelectric
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

electric 9.07+dfsg-7

electrical CAD system

http://www.staticfreesoft.com/productsFree.html

sudo apt install electric
  • Section: electronics
  • Architecture: all
  • 8 依存関係
  • normalized package name match
  • 一致条件: Electric
Debian stable package indexes · deb.debian.org · Debian stable package indexes: electric from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

electric 9.07+dfsg-7

electrical CAD system

http://www.staticfreesoft.com/productsFree.html

sudo apt install electric
  • Section: universe/electronics
  • Architecture: all
  • 8 依存関係
  • normalized package name match
  • 一致条件: Electric
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: electric from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

electric

sudo port install electric
  • normalized package name match
  • 一致条件: Electric
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/electric/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment